Setting
only specific borders:
TABLE:
Males | Females | |
Horses at the Faraway Farm | 2 | 2 |
Ponies at home | 4 | 1 |
•with the FRAME
attribute in the <table> tag you can control which side of the table has
a border.
•<table
width="75%" border="3" FRAME=void>
•The options
are:
FRAME=void (no external borders)
FRAME=above (for border only on top)
FRAME=below (for border only below)
FRAME=hsides (for a border on both top and bottom
sides)
FRAME=vsides (for border on right and left sides)
FRAME=rhs (for border on right side)
FRAME=lhs (for a border on left side)
FRAME=box
or FRAME=border (for all borders---default)
Males | Females | |
Horses at the Faraway Farm | 2 | 2 |
Ponies at home | 4 | 1 |
•with the RULES
attribute in the <table> tag you can control which inside borders display.
•<table
width="75%" border="3" RULES=cols>
•The options
are:
RULES=none (no inside rules)
RULES=rows (for rules between rows only)
RULES=cols (for rules between columns only)
RULES=group (for rules between column groups and horizontal sections)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>table</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="86%" border="3" FRAME=above
RULES=none height="76">
<CAPTION><strong> HORSE COUNT</strong></CAPTION>
<tr>
<td bgcolor="#CCCCCC" width="39%"> </td>
<td width="32%">Males</td>
<td width="29%">Females</td>
</tr>
<tr>
<td NOWRAP valign=top width="39%">Horses at the Faraway Farm</td>
<td width="32%">2</td>
<td width="29%">2</td>
</tr>
<tr>
<td width="39%">Ponies at home</td>
<td width="32%">4</td>
<td width="29%">1</td>
</tr>
</table>
</body>
</html>