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

Outlook 2007/2010 "23.7 Inch" Bug #55

Closed
longjasonm opened this issue Jun 10, 2016 · 3 comments
Closed

Outlook 2007/2010 "23.7 Inch" Bug #55

longjasonm opened this issue Jun 10, 2016 · 3 comments
Labels
question nothing reported, just asking a question

Comments

@longjasonm
Copy link

longjasonm commented Jun 10, 2016

Just ran into this while building an email for a client: https://www.emailonacid.com/blog/article/email-development/horizontal_spacing_issues_in_outlook_2007_and_2010

Was able to solve it by removing the 100% <table> immediately after the <body> tag and did not see adverse effects in any clients.

I know you are always in pursuit of clean code; maybe we remove that outer table?

@TedGoas TedGoas added the question nothing reported, just asking a question label Jun 17, 2016
@TedGoas
Copy link
Owner

TedGoas commented Jun 17, 2016

@longjasonm Hi Jason, yes always looking to simply (read: delete) code!

Can you describe the issue you ran in a bit more detail? What did you see before? What clients did you retest after the fix?

As per your suggestion, I removed the width="100%" on this line, but unfortunately that removed the center alignment in Outlook 2007 / 2010. This is what I see:

ol2007-vertical-allowed-1366

@longjasonm
Copy link
Author

Check out my code here...actually delete the entire table on line 152 of cerberus-hybrid.html: https://litmus.com/builder/63a28a8 Notice there is no "black line" caused by the 23.7in bug (on your screenshot above, see the break before thumbnail left/text right).

@TedGoas
Copy link
Owner

TedGoas commented Jun 17, 2016

@longjasonm Great, I can reproduce that and see how it works. All email clients remain centered and no unwanted gaps in Outlook.

This created an issue for a few of the desktop emails losing their background color; I knew I had this code in there for a reason!). But simply adding background: #222222; to the <center> tag restores it across clients.

chromegoogleapps-vertical-allowed-1366

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question nothing reported, just asking a question
Projects
None yet
Development

No branches or pull requests

2 participants