0
我將創建一個表,我的通訊,但是我讀每一個客戶在不一樣的方式讀取代碼... 所以我想有一個table
,這將是迴應所有的電子郵件服務...如何創建「表」響應所有電子郵件客戶端?
我做了一個小例子..
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border-spacing: 0;border-collapse: collapse;vertical-align: top; color: #000000; font-size: 15px; margin-top:25px; font-family: Arial">
<tbody>
<tr style="vertical-align: top; height: 40px">
<td valign="middle" style="word-break: break-word;border-collapse: collapse !important;vertical-align: top; font-weight: bolder; border-width: 2px 1px 2px 2px; border-style: solid; border-color: #769e9e; text-align: center; padding: 8px 3px 8px 5px; width: 125px;">
<!--<![endif]-->
Vulcano
<!--[if !mso]><!- - -->
</td>
<td valign="middle" style="word-break: break-word;border-collapse: collapse !important;vertical-align: top; font-weight: bolder; border-width: 2px 2px 2px 1px; border-style: solid; border-color: #769e9e; text-align: center; padding: 8px 3px 8px 5px; width: 100px;">
Ultima attivita'
<!--[if !mso]><!- - -->
</td>
</tr>
<tr style="vertical-align: top">
<td valign="middle" style="word-break: break-word;border-collapse: collapse !important;vertical-align: top; text-align: left; border-width: 1px 1px 1px 2px; border-style: solid; border-color: #a8c1c1 #a8c1c1 #a8c1c1 #769e9e; padding: 3px 3px 3px 5px; width: 125px;">
<!--<![endif]-->Etna
<!--[if !mso]><!- - -->
</td>
<td valign="middle" style="word-break: break-word;border-collapse: collapse !important;vertical-align: top; text-align: left; border-width: 1px 2px 1px 1px; border-style: solid; border-color: #a8c1c1 #769e9e #a8c1c1 #a8c1c1; width: 100px; padding: 3px 0px 3px 8px;">
<!--<![endif]-->2015
<!--[if !mso]><!- - -->
</td>
</tr>
<tr style="vertical-align: top">
<td valign="middle" style="word-break: break-word;border-collapse: collapse !important;vertical-align: top; border-style: solid; border-color: #769e9e; border-width: 1px 1px 2px 2px; width: 125px; padding: 3px 3px 3px 5px;">
<!--<![endif]-->
<!--[if !mso]><!- - -->
</td>
<td valign="middle" style="word-break: break-word;border-collapse: collapse !important;vertical-align: top; border-style: solid; border-color: #769e9e; border-width: 1px 2px 2px 1px; width: 100px; padding: 3px 3px 3px 5px;">
<!--<![endif]-->
<!--[if !mso]><!- - -->
</td>
</tr>
</tbody>
</table>
這裏是http://jsfiddle.net/s7n7exst/
宥想什麼?
但是你覺得我的例子是什麼?只有css內聯很好? – Borja
@Borja它會工作,它不穩定,但桌面可能會打破一些Outlook客戶端 –