174 lines
4.4 KiB
HTML
174 lines
4.4 KiB
HTML
<HTML>
|
|
<BODY bgcolor=ffffff>
|
|
<P>
|
|
<TABLE width=100% cellspacing=0 cellpadding=0>
|
|
<TR>
|
|
<TD>
|
|
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
|
|
</TD>
|
|
<TD align=right>
|
|
<FONT size=-1><B>Example Tag Usage</B></FONT>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<HR width=100% size=1 color=black>
|
|
<P>
|
|
<FONT size=+1><B>1: Tables</B></FONT>
|
|
<P>
|
|
<BLOCKQUOTE>
|
|
<P>
|
|
<B>Attr: frame</B><BR>
|
|
<B>Attr: border</B><BR>
|
|
<B>Attr: rules</B><BR>
|
|
|
|
<P>
|
|
<BLOCKQUOTE>
|
|
<TABLE border cellpadding=6 align=center>
|
|
|
|
<TR>
|
|
<TD>
|
|
<B>Use Within:</B><BR>
|
|
<TABLE>
|
|
</TD>
|
|
</TR>
|
|
|
|
|
|
|
|
<TR>
|
|
<TD>
|
|
<B>Arguments:</B><BR>
|
|
<B>frame:</B> void | border | box |
|
|
hsides | vsides | above | below | lhs | rhs <BR>
|
|
<B>border:</B> A number >=0 or no argument<BR>
|
|
<B>rules:</B> none | groups | cols |
|
|
rows | all <BR>
|
|
|
|
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD>
|
|
<B>Synopsis:</B><BR>The <B>border</B> attribute specifies the thickness of any
|
|
border to be drawn around a table.
|
|
<P>The <B>frame</B> attribute determines which sides of the table any border
|
|
should be drawn.
|
|
<P>The <B>rules</B> attribute determines how lines between table cells are
|
|
drawn.
|
|
|
|
<P>
|
|
<UL>
|
|
<LI>"border=0" is equivalent to "frame=void"<BR>
|
|
<LI>"frame=border" is equivalent to "frame=box"<BR>
|
|
<LI>"border" with no argument is now deprecated but backward compatibility
|
|
requires a rendering equivalent to: "frame=border" "border=1" "rules=all"
|
|
<P>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD>
|
|
<B>Example 1:</B>
|
|
<P>
|
|
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
|
|
<tr>
|
|
<td><FONT color=navy>
|
|
<TABLE cellspacing=2 cellpadding=2 border=2 frame=hsides <BR>bordercolor=maroon rules=none><BR>
|
|
<code> </code><TR><BR>
|
|
<code> </code><TD> Frequently Asked Questions
|
|
</TD><BR>
|
|
<code> </code></TR><BR>
|
|
</TABLE></FONT>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<P>
|
|
</TR>
|
|
</TD>
|
|
|
|
<TR><TD>
|
|
<B>Rendering:</B>
|
|
<BR>
|
|
<table align=center cellspacing=2 cellpadding=2 border=2 frame=hsides
|
|
bordercolor=maroon rules=none>
|
|
<tr><td>Frequently Asked Questions</td></tr>
|
|
</table>
|
|
<BR>
|
|
</TD></TR>
|
|
|
|
<TR>
|
|
<TD>
|
|
<B>Example 2:</B>
|
|
<P>
|
|
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
|
|
<tr>
|
|
<td><FONT color=navy>
|
|
|
|
<TABLE width=250 rules=groups bgcolor=plum border=3 <BR>
|
|
frame=box cellspacing=0><BR>
|
|
<COLGROUP span=1 align=center></COLGROUP><BR>
|
|
<COLGROUP span=2 align=center></COLGROUP><BR>
|
|
<COLGROUP span=1 align=center></COLGROUP><BR>
|
|
<THEAD><BR>
|
|
<code> </code><TR><TD colspan=4 align=center><B>Junior Attendees</B></TD></TR><BR>
|
|
</THEAD><BR>
|
|
<TBODY><BR>
|
|
<code> </code><TR><TH></TH><TH>Boys</TH><TH>Girls</TH><TH>Total</TH></TR><BR>
|
|
</TBODY><BR>
|
|
<TBODY><BR>
|
|
<code> </code><TR><TH>1997</TH><TD>16</TD><TD>18</TD><TD>34</TD></TR><BR>
|
|
<code> </code><TR><TH>1997</TH><TD>22</TD><TD>31</TD><TD>53</TD></TR><BR>
|
|
</TBODY><BR>
|
|
<TBODY><BR>
|
|
<code> </code><TR><TH>Total</TH><TD>38</TD><TD>49</TD><TD>87</TD></TR><BR>
|
|
</TBODY><BR>
|
|
</TABLE></FONT>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<P>
|
|
|
|
|
|
<TR><TD>
|
|
<B>Rendering:</B>
|
|
<BR>
|
|
<table width=250 align=center 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>1998</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>
|
|
<br>
|
|
</TD>
|
|
</TR>
|
|
|
|
</TABLE>
|
|
</BLOCKQUOTE>
|
|
</BLOCKQUOTE>
|
|
|
|
<TABLE align=center width=50%>
|
|
<TR>
|
|
<TD align=center>
|
|
<A href="../CalGuide.html">Guide Index</A> |
|
|
<A href="../javadoc/overview-tree.html"> JavaDoc</A> |
|
|
<A href="guide-Tables-background.html"> Previous</A> |
|
|
<A href="guide-Tables-bordercolors.html"> Next</A>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
</BODY>
|
|
</HTML>
|