Reputation: 36
My Outlook 2010
does not work with my HTML5
code.
It works fine with Gmail
and Hotmail
.
The problem is that Outlook spreads the whole code over the whole page. and does not align the code correctly. Can anyone help me to solve my problem and or at least tell me what I am doing wrong? My code is:
<!--Row 1-->
<tr style="position:fixed; width:794px;height:200px; margin-left:1050px;">
<td class=uni STYLE="margin-top: 18px;margin-left:1000px;height:17px;width:41px;">L</td>
</tr>
<!--Row 2-->
<tr style="position: fixed; margin-left: 750px;">
<td class=uni STYLE="top:32px;left:655px;height:34px;width:96px;font-size:22pt; " >Lossen</td>
</tr>
<!--Row 3-->
<tr style="position: fixed; margin-top: 100px ">
<br>
<td class=uni STYLE="top:128px;left:56px;height:17px;width:20px;">Bonnummer</td>
<td class=uni STYLE="top:127px;left:130px;height:17px;width:85px;"> Numbers</td>
<br>
<td class=uni STYLE="position: inherit; top:127px;left:537px;height:17px;width:40px; margin-left: 100px; margin-top: 90px">Datum</td>
<td class=uni STYLE="position: inherit; top:127px;left:580px;height:17px;width:100px; margin-left: 105px; margin-top: 90px">29-10-2014</td>
</tr>
Upvotes: 1
Views: 447
Reputation: 49453
Outlook can't read HTML5 elements. Also using classes in an email is bad practice. It will look terrible in GMail, as GMail doesn't read style tags or external CSS.
As probably know Outlook uses Word (not IE) for rendering HTML markup. You can read more about supported and unsupported HTML elements, attributes, and cascading style sheets properties in the following articles in MSDN:
Upvotes: 3