42 lines
1.7 KiB
HTML
42 lines
1.7 KiB
HTML
<html>
|
|
<style>
|
|
BODY { font-size: 12pt; }
|
|
</style>
|
|
<body>
|
|
|
|
Some simple tables.
|
|
|
|
<table border=1>
|
|
<TR><TD background=bg.jpg>Color</TD><TD background=bg.jpg>Meaning</TD></TR>
|
|
<TR><TD bgcolor=lightgreen>lightgreen</TD><TD>Light green is used on cells that have a colspan</TD></TR>
|
|
<TR><TD bgcolor=Khaki>khaki</TD><TD>Khaki is used on cells that have a rowspan</TD></TR>
|
|
<TR><TD bgcolor="LightGrey">lightgrey</TD><TD>Light grey is used on cells that have a rowspan <B>and</B> a colspan</TD></TR>
|
|
</table>
|
|
|
|
<THREED>Column span table:</THREED>
|
|
<table border=1>
|
|
<CAPTION>top caption</CAPTION>
|
|
<TR><TD COLSPAN=2 bgcolor=lightgreen>Cell</TD><TD> Stuff to test out table cell layout. This should be long enough.</TD></TR>
|
|
<TR><TD>Cell</TD><TD COLSPAN=2 bgcolor=lightgreen> Stuff to test out table cell layout. This should be long enough.</TD></TR>
|
|
<TR><TD>Cell</TD><TD> Stuff to test out table cell layout. This should be long enough.</TD><TD>Cell</TD></TR>
|
|
</table>
|
|
<br>
|
|
<THREED>Row span table, no caption:</THREED>
|
|
<table border=1>
|
|
<CAPTION align=bottom>bottom caption</CAPTION>
|
|
<TR><TD>Cell</TD><TD ROWSPAN=2 bgcolor=khaki> Stuff to test out table cell layout. This should be long enough.</TD><TD>Cell</TD></TR>
|
|
<TR><TD>Cell</TD><TD>Cell</TD></TR>
|
|
<TR><TD>Cell</TD><TD> Stuff to test out table cell layout. This should be long enough.</TD><TD>Cell</TD></TR>
|
|
</table>
|
|
<br>
|
|
<THREED>Row and col span table:</THREED>
|
|
<table border=1>
|
|
<caption><P>Caption Text</P></caption>
|
|
<TR><TD>Cell</TD><TD COLSPAN=2 ROWSPAN=2 bgcolor=lightgrey> Stuff to test out table cell layout. This should be long enough.</TD></TR>
|
|
<TR><TD>Cell</TD></TR>
|
|
<TR><TD>Cell</TD><TD> Stuff to test out table cell layout. This should be long enough.</TD><TD><THREED>Cell</THREED></TD></TR>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
|