CalHTMLPane v2.0 Guide | Example Tag Usage |
1: Tables
Attr: frame
Attr: border
Attr: rules
Use Within:
<TABLE>Arguments:
frame: void | border | box | hsides | vsides | above | below | lhs | rhs
border: A number >=0 or no argument
rules: none | groups | cols | rows | all
Synopsis:
The border attribute specifies the thickness of any border to be drawn around a table.The frame attribute determines which sides of the table any border should be drawn.
The rules attribute determines how lines between table cells are drawn.
- "border=0" is equivalent to "frame=void"
- "frame=border" is equivalent to "frame=box"
- "border" with no argument is now deprecated but backward compatibility requires a rendering equivalent to: "frame=border" "border=1" "rules=all"
Example 1:
<TABLE cellspacing=2 cellpadding=2 border=2 frame=hsides
bordercolor=maroon rules=none>
<TR>
<TD> Frequently Asked Questions </TD>
</TR>
</TABLE>
Rendering:
Frequently Asked Questions
Example 2:
<TABLE width=250 rules=groups bgcolor=plum border=3
frame=box cellspacing=0>
<COLGROUP span=1 align=center></COLGROUP>
<COLGROUP span=2 align=center></COLGROUP>
<COLGROUP span=1 align=center></COLGROUP>
<THEAD>
<TR><TD colspan=4 align=center><B>Junior Attendees</B></TD></TR>
</THEAD>
<TBODY>
<TR><TH></TH><TH>Boys</TH><TH>Girls</TH><TH>Total</TH></TR>
</TBODY>
<TBODY>
<TR><TH>1997</TH><TD>16</TD><TD>18</TD><TD>34</TD></TR>
<TR><TH>1997</TH><TD>22</TD><TD>31</TD><TD>53</TD></TR>
</TBODY>
<TBODY>
<TR><TH>Total</TH><TD>38</TD><TD>49</TD><TD>87</TD></TR>
</TBODY>
</TABLE>
Rendering:
Junior Attendees Boys Girls Total 1997 16 18 34 1998 22 31 53 Total 38 49 87
Guide Index | JavaDoc | Previous | Next |