HTML Pro: Table snippet

Table snippet that works great across desktop/web/mobile incl. Outlook for Windows: 

Adding white-space: nowrap; preserves that the text doesn't wrap in the table cell if the table width is above 320px which is the limit for Mobile-Ready designs.

<table border="0" cellspacing="0" cellpadding="0" style="border:none; mso-table-lspace:0px; mso-table-rspace:0px; mso-cellspacing: 0px; mso-padding-alt: 0px 0px 0px 0px; border-collapse:collapse; width: 320px;">
 <tr>
     <td width="320" height="13" style="width: 320px;height: 13px; white-space: nowrap;">
         <font face="Arial, Helvetica, Sans-Serif" color="#000000" style="FONT-SIZE: 13px">
             
         </font>
     </td>
 </tr>
</table>


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.