Skip to content Skip to sidebar Skip to footer

Float Replacement For Email In Outlook

This is a follow up question to this question. I am writing this two-column email and I have been advised to use float:left on my td's so that the widths are appropriate for the em

Solution 1:

Floating a td is a very strange thing to do. I haven't tried, but my guess is some versions of IE just won't do anything (therefore, for your concern, some versions of Outlook might show the same behaviour, or not, depending on the version and order of installation of MS Office and IE).

Floating any elements for email clients is a bad idea as well, since hotmail/outlook.com, and most versions of Outlook desktop do not support the float property.

See: http://www.campaignmonitor.com/css/

EDIT: It has nothing to do with floating or aligning. You have 6 rows in that table, and the second one, has 2 columns, all the rest have 1 column. You have to have the same amount of columns per table, so you can use the colspan attribute on all 5 of the other tr in order for the table to account for the tr that has 2 td, like this <tr colspan="2".... Then remove all floating, is unneccesary.

See http://www.w3.org/TR/REC-html40/struct/tables.html#adef-colspan for further info.


Post a Comment for "Float Replacement For Email In Outlook"