【发布时间】:2011-07-11 01:41:25
【问题描述】:
我有一张这样的桌子:
<table id="MyTable" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th style="width: 30%;">
<asp:Literal ID="LitDescriptionTitle" runat="server" />
</th>
<th style="width: 30%;">
<asp:Literal ID="LitDescription2Title" runat="server" />
</th>
<th style="width: 30%;">
<asp:Literal ID="LitAddressTitle" runat="server" />
</th>
<th style="width: 10%;">
</th>
</tr>
</thead>
<tbody>
现在列宽在 IE 中正确设置为百分比,但在 Firefox 中没有。 (大概是FF做对了)
我可以做些什么来让列的宽度在 IE 和 FF 中都固定为上述百分比?
【问题讨论】:
标签: html html-table width