我使用HTML中的表格创建了宾果卡片。在第二列中,如果我使用字母I
,则列的大小会自动减小,如果我使用任何其他字母,那么列的大小会恢复正常。为什么它发生如此呢?奇怪的HTML表格错误
表格图像(在第2列使用I
):http://imageshack.us/photo/my-images/21/18575712.png/
表格图像(在第2列使用A
):http://imageshack.us/photo/my-images/580/11014314.png/
<html>
<head>
<title>Bingo Card</title>
</head>
<body>
<h2>Bingo Card</h2>
<table border="1px" width="50%">
<tr>
<th>B</th>
<th>A</th>
<th>N</th>
<th>G</th>
<th>O</th>
</tr>
<tr>
<td id="square0"> </td>
<td id="square1"> </td>
<td id="square2"> </td>
<td id="square3"> </td>
<td id="square4"> </td>
</tr>
<tr>
<td id="square5"> </td>
<td id="square6"> </td>
<td id="square7"> </td>
<td id="square8"> </td>
<td id="square9"> </td>
</tr>
<tr>
<td id="square10"> </td>
<td id="square11"> </td>
<td id="square12"> </td>
<td id="square13"> </td>
<td id="square14"> </td>
</tr>
<tr>
<td id="square15"> </td>
<td id="square16"> </td>
<td id="square17"> </td>
<td id="square18"> </td>
<td id="square19"> </td>
</tr>
<tr>
<td id="square20"> </td>
<td id="square21"> </td>
<td id="square22"> </td>
<td id="square23"> </td>
<td id="square24"> </td>
</tr>
</table>
</body>
</html>
检查它在Firefox和Chrome。 – sandbox 2012-02-18 13:26:04
你想寻求解决办法或u想要的确切原因 – Prabhavith 2012-02-18 13:26:54
@Prabhavith两个 – sandbox 2012-02-18 13:28:13