【发布时间】:2012-07-09 17:24:59
【问题描述】:
<table width="320" cellspacing="0" cellpadding="0" valign="top" bgcolor="#ffffff" style="border:1px solid #d6d6d6;border-collapse:collapse;">
<tr>
<td height="131" valign="bottom" style="padding:0px 8px;">aaa</td>
</tr>
<tr><td height="10" style="line-height:1px;">bbb</tr>
<tr>
<td height="182" valign="top" style="padding:0px 8px;line-height:1px;">ccc</td>
</tr>
</table>
在 IE6 和 IE7 中,第一个 td 的高度值正好是 131px,但在 IE8 中它是 132px。
如何解决?
【问题讨论】:
-
为什么使用旧的 IE。 IE意味着麻烦:)
-
专业人士仍需为IE构建。
标签: css internet-explorer html-table