看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