我遇到显示列以编程方式显示的表的问题。Firefox + Chrome桌面渲染问题
以下是可以看到此问题的HTML代码(并且已经确认它不影响渲染的代码)。
<table>
<tr>
<th>NUMER</th>
<th>NAME</th>
<th align="center" style="display:block;">LOCATION</th>
<th align="center" style="display:none;">1</th>
<th align="center" style="display:block;">2</th>
</tr>
<tr>
<td>12345</td>
<td>BOB Jr</td>
<td align="center" style="display:block;"><input type="CheckBox" ID="updateLocation" runat="server" /></td>
<td align="center" style="display:none;"><input type="CheckBox" ID="updateLocation" runat="server" /></td>
<td align="center" style="display:block;"><input type="CheckBox" ID="updateLocation" runat="server" /></td>
</tr>
这将显示为在Chrome和Firefox如下:
风格编程方式添加,这显然是导致该问题,但是我想知道如果任何人有建议,以解决这一问题?
表格列必须以编程方式显示,因为此功能是用户驱动的。
另请注意,这对IE浏览器正常工作。
不知道什么吸引了downvote,对我来说似乎是一个非常好的问题? – KingCronus