我在HTML電子郵件中創建一個列表,UL對齊問題HTML
<table width="220" border="1" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tr>
<td width="20"></td>
<td width="180">
<p style="color:#333333; line-height: 20px; font-size: 16px; font-family: Helvetica, Arial, sans-serif; font-weight:bold; text-align: left; padding-top: 10px;">Title</p>
<ul style="color:#767676; line-height: 20px; font-size: 12px; font-family: Helvetica, Arial, sans-serif; list-style-image:url(images/bullet.jpg);">
<li>Contrary to popular belief, Lorem Ipsum is not simply random text. </li>
<li>Contrary to popular belief, Lorem Ipsum is not simply random text. </li>
<li>Contrary to popular belief, Lorem Ipsum is not simply random text. </li>
</ul>
</td>
<td width="20"></td>
</tr>
</table>
但是,該列表並不與上面的標題對齊。我如何對齊它們?
確定爲什麼它獲得了-ve投票? – user1212 2011-05-18 17:14:56
以及內聯樣式不完全是最好的做法...但我知道這是一個電子郵件模板,你可能需要他們... – pixelbobby 2011-05-18 17:16:28
所以你的觀點是? HTML電子郵件不允許標題中的css – user1212 2011-05-18 17:18:37