home > real world > web resource > web source codes >
We can make an interesting table with a thin border and a thick header.
TABLE HEADER
|
Table text...
...And more text...
...And more and more text.
|
|
In fact, it's about a table within a table, and the biggest table has cellpadding=1 and a bgcolor . The second table has 2 rows, one for the header, with the same bgcolor as first table's, and the second row - the content itself with a different bgcolor .
<table width=200 border=0 cellpadding=1 cellspacing=0 bgcolor=#229922>
<tr>
<td>
<table border=0 cellpadding=1 cellspacing=0>
<tr>
<td bgcolor=#229922 align=center>
<strong><font color=#FFFFFF>TABLE HEADER</font></strong>
</td>
</tr>
<tr>
<td bgcolor=#004400 align=center>
<p>Some text...
<p>...And more text...
<p>...And more and more text.
</td>
</tr>
</table>
</td>
</tr>
</table>
|