【发布时间】:2010-09-28 01:07:09
【问题描述】:
我无法理解这里的问题,但这在除 Opera 之外的所有浏览器中看起来都很好。
HTML代码如下:
<table width="395" height="214" border="1">
<tr>
<td colspan="2">Here is some content in here that has 2 colspans</td>
<td width="137">This only has 1 colspan.</td>
</tr>
<tr>
<td width="113">This has only 1 colspan also.</td>
<td colspan="2">This cell has 2 colspans now and should look presentable hopefully.</td>
</tr>
<tr>
<td colspan="3">This cell has 3 colspans within this table and should fill up the entire width of the table.</td>
</tr>
</table>
现在 Opera 中的输出如下所示:
但是我如何让它看起来像这样(就像所有其他浏览器一样):
问题其实比这深得多,但这是主要的基本整体问题。
【问题讨论】:
-
为其他单元格明确指定
colspan = "1"是否有帮助? -
不,这没什么区别,不过还是谢谢。
标签: html html-table opera