|
|
BORDER The BORDER attribute is one of the easiest to learn - it specifies a border width in pixels. Before code: table with BORDER <table border="1" width="100%">
<tr>
<td width="20%" valign="top">History..</td>
<td width="80%" valign="top">Our club..</td>
</tr>
</table>
Before results: table with BORDER
After code: table without BORDER <table width="100%" border="0">
<tr>
<td width="20%" valign="top">History..</td>
<td width="80%" valign="top">Our club..</td>
</tr>
</table>
After results: table without BORDER
Note 1: If BORDER remains unspecified, most browsers will not display a border. However since this is a default option, it is always better to specify as BORDER="0" if you want a borderless table. Note 2: Probably 80% of professional web sites are laid out with borderless tables (this page is, also). It's a very common technique. Designers typically leave BORDER="1" for layout, and then switch to a value of 0 to preview their work.
|