Forum Moderators: open
IE browser everything is fine. IE in gmail, alignment is broken.
Now this only happens in IE, and it happens to all templates, mine and others I tried..
Any clue why this is happening?
Thanks.
[edited by: tedster at 1:47 am (utc) on Jan. 28, 2010]
[edit reason] sorry, no links or screen captures [/edit]
Styles and online email clients are a tough mix - always have been. Here's a thread from 2005 that goes into the fine points. Yes, that's a while ago, but the situation hasn't evolved all that much in five years. Post #5 by Don Hoagie is one of the great gems I've ever seen about mail client variations.
The Challenges of HTML Email [webmasterworld.com]
It's better to break the <center> tag habit, anyway. Even though <center> still has browser support for backwards compatibility, as far back as 2002 it was included in the deprecated HTML tags [webmasterworld.com].
<body style="margin:0;padding:0;text-align:center;">
<div style="margin:0 auto;width:400px;text-align:left;">Your email page goes here
</div>
</body>
}
You can of course change "width" to however many pixels works for your message - but definitely test it first.