看50%的高度,在此代码:如何设置为WebKit的表格单元格器(Chrome,Safari浏览器)
<html>
<body>
<table border="1px">
<tr>
<th align="center" width="70px">Name</th>
<th align="center" width="70px">State</th>
<th align="center" width="70px">Enabled</th>
<th colspan="2">Date & Time</th>
<th>Message</th>
</tr>
<tr>
<td rowspan="2">
<span>Import</span>
</td>
<td rowspan="2" align="center">
Idle
</td>
<td rowspan="2" align="center">
Yes
</td>
<td style="width:150px;">Start:</td>
<td style="width:150px">28.10.2009 00:00:00</td>
<td rowspan="2">
The job succeeded. The Job was invoked by User sa. The last step to run was step 1 (Updating).The job succeeded. The Job was invoked by User sa. The last step to run was step 1 (Updating).The job succeeded. The Job was invoked by User sa. The last step to run was step 1 (Updating).The job succeeded. The Job was invoked by User sa. The last step to run was step 1 (Updating).
</td>
</tr>
<tr>
<td>Schedule:</td>
<td>28.10.2009 13:41:37</td>
</tr>
</table>
</body>
串的高度,包含启动和时间表是需要的是平等的。在IE中,Firefox默认情况下具有相同的高度。使用CSS可以为WebKit实现相同的功能吗?怎么样? (禁止高度硬编码,动态生成消息大小。)
好的,我需要在哪放置表格的容器?以及如何设置它的高度? – 2009-10-29 15:11:52