开发者

How do I get my email to center in Hotmail? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplet开发者_运维技巧e, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I am testing my HTML email using http://www.emailonacid.com and Hotmail is causing problems.

This table is appearing as left aligned and I can't figure out why:

 <div align="center">
     <table align="center" width="200" style="background:red">
       <tr>
         <td>Please Help</td>
       </tr>
     </table>
 </div>

It looks fine in IE but not in FF.


Hotmail places your email inside a div with a class named “ExternalClass” - here are the properties they have set on that class:

    .ExternalClass{display:inline-block; line-height: 131%}; 

This has no effect on your email when using IE but every other browser the email will not be centered.

To overwrite this simply include this in your embedded CSS:

    .ExternalClass {width: 100%;} 

I found this to be a great resource for other similar Hotmail issues: Emailology.org

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜