至今为止仍然感觉 Roger 的那篇 介绍 CSS Tables 的文章 简直是太棒了~~~会让你有种豁然开朗的感觉,仔细品位其中的每一句话,都会有所收获。
如今 Veerle 的这篇 A CSS Styled Table 看起来就显得那么合口味。
比如,请看如下代码:
<table id="mytable" cellspacing="0" summary="The technical specifications of the Apple PowerMac G5 series">
<caption>Table 1: Power Mac G5 tech specs </caption>
<tr>
<th scope="col" abbr="Configurations" class="nobg">Configurations</th>
<th scope="col" abbr="Dual 1.8">Dual 1.8GHz</th>
<th scope="col" abbr="Dual 2">Dual 2GHz</th>
<th scope="col" abbr="Dual 2.5">Dual 2.5GHz</th>
</tr>
<tr>
<th scope="row" abbr="Model" class="spec">Model</th>
<td>M9454LL/A</td>
<td>M9455LL/A</td>
<td>M9457LL/A</td>
</tr>
...........
看到颜色加粗的代码了吗?这些是你平时会注意的问题吗?如果你没有注意,那就赶快去看看这两篇文章吧~~还有许多表格的秘密你应该去了解!
如今 Veerle 的这篇 A CSS Styled Table 看起来就显得那么合口味。
比如,请看如下代码:
<table id="mytable" cellspacing="0" summary="The technical specifications of the Apple PowerMac G5 series">
<caption>Table 1: Power Mac G5 tech specs </caption>
<tr>
<th scope="col" abbr="Configurations" class="nobg">Configurations</th>
<th scope="col" abbr="Dual 1.8">Dual 1.8GHz</th>
<th scope="col" abbr="Dual 2">Dual 2GHz</th>
<th scope="col" abbr="Dual 2.5">Dual 2.5GHz</th>
</tr>
<tr>
<th scope="row" abbr="Model" class="spec">Model</th>
<td>M9454LL/A</td>
<td>M9455LL/A</td>
<td>M9457LL/A</td>
</tr>
...........
看到颜色加粗的代码了吗?这些是你平时会注意的问题吗?如果你没有注意,那就赶快去看看这两篇文章吧~~还有许多表格的秘密你应该去了解!
回复Comments
作者:
{commentrecontent}