Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compatibility] Outlook.com / Office 365 rendering #401

Open
iampstew opened this issue Apr 29, 2016 · 6 comments
Open

[Compatibility] Outlook.com / Office 365 rendering #401

iampstew opened this issue Apr 29, 2016 · 6 comments

Comments

@iampstew
Copy link

iampstew commented Apr 29, 2016

Done a email testing using the new Zurb Email with Litmus, and the button rendering doesn't support the padding / spacing for the button, and also row > column collapses are not rendering correctly on Outlook.com / Office365 web clients, where as gmail and yahoo all look 100% accurate.

Outlook / Office 365
untitled-1

Yahoo / Gmail
untitled-2

Am using the Inky markup and NPM to build the email, all other clients work (Outlook 2000 onwards, iOs etc) are 100% way it should be... Just the MS web based email clients is causing a issue.

Here is my mark up for the footer

  <row class="collapse">
    <columns small="12" large="12">
      <callout class="secondary">     

        <!-- CONTENT GOES HERE -->

        <row class="collapse">
          <columns small="10" large="6">
            <row class="collapse">
                <columns small="12" large="3"><p style="color:#010101;margin:0px 0px 0px 0px;"><strong>Social</strong></p></columns>
                <columns small="3" large="2"><a href="#"><img src="assets/img/facebook.png" alt="Facebook" width="28"></a></columns>
                <columns small="3" large="2"><a href="#"><img src="assets/img/twitter.png" alt="Twitter" width="28"></a></columns>
                <columns small="3" large="2"><a href="#"><img src="assets/img/linkedin.png" alt="linkedin" width="28"></a></columns>
                <columns small="3" large="2"><a href="#"><img src="assets/img/google.png" alt="google" width="28"></a></columns>
            </row>     
          </columns>
          <columns small="4" large="6"></columns>
        </row>
      </callout>
    </columns>
  </row> 

And the button

<center> 
    <button href="#" class="secondary text-center">Book your free place today</button>
</center>
@iampstew iampstew changed the title [Compatibility] Outlook.com [Compatibility] Outlook.com / Office 365 rendering Apr 29, 2016
@iampstew
Copy link
Author

iampstew commented May 3, 2016

Also span's seem to revert to the colour white as well..

@gbreux
Copy link

gbreux commented May 5, 2016

Maybe you should consider adding a table inside the <a> (or button if you use inky) tag and add the padding to the td.
It does the trick for me but i had to review the global button foundation css to make it work for my own purpose (nothing generic enough though)

<button href="#" class="radius primary">
    <table>
        <tr>
            <td class="default">Label</td>
        </tr>
    </table>
</button>

@janzelc
Copy link

janzelc commented May 6, 2016

We're having a lot of trouble with emails rendering in conversation view. It sounds like the issue is not limited to Foundation for emails though.

@hteumeuleu
Copy link

hteumeuleu commented May 12, 2016

Office 365 and Outlook.com strip <a> tags with empty or invalid href attributes. Try adding real URLs instead of # in your href attributes.

@rafibomb
Copy link
Member

@hteumeuleu Good suggestion! We've seen this cause the buttons look different as well. Also invalid URL's will display next to the button.

@rafibomb rafibomb added this to the 2.2.2 milestone Nov 4, 2016
@rafibomb rafibomb added the button label Nov 4, 2016
@billiam13s
Copy link

We have the same issue when button wrapped around the centre tag. On Web Outlook (when message is nested) and Android 5.1.1 Outlook App, will display the button left aligned and link text in blue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants