blob: d9ffbbe58cd1f9b37db05221985e924a46bf4896 [file] [log] [blame]
<table border>
<tr>
<td width=100>100</td>
<td width=30%>30% width</td></tr>
</table>
<BR>
<table border>
<tr>
<td width=100>100 100 100 100 100 100</td>
<td width=50%>50% width</td></tr>
</table>
<BR>
<table border>
<tr>
<td width=100>100</td>
<td>no width given</td>
<td width=30%>30% width</td></tr>
<tr>
<td width=500 colspan=3>500 colspan=3</td></tr>
</table>
<BR>
<table border>
<tr>
<td width=100>foo</td>
<td>no width given</td>
<td width=30%>30% width</td></tr>
<tr>
<td width=200 colspan=2>200 spans col 1-2</td><td>last cell</td></tr>
<tr>
<td>first cell</td>
<td width=300 colspan=2>300 spans col 2-3</td></tr>
</table>
<BR>
<table width=700 border>
<tr>
<td width=100>fooooo oooooo oooooo oooooo oooooo</td>
<td>bar</td>
</tr>
</table>
<BR>
<TABLE CELLPADDING="3" CELLSPACING="0" border="1" width="400">
<TR>
<TD colspan="2"><P><b>This is colspan=2</b></P></TD>
<TD>Blah Blah Blah Blah Blah Blah Blah Blah Blah</TD>
</TR>
<TR>
<TD colspan="3">
<p><b>This is colspan=3</b> blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah
</p>
</TD>
</TR>
</TABLE>
<BR>
<br>
<TABLE CELLPADDING="3" CELLSPACING="0" border="1" width="400">
<TR>
<TD><P><b>no colspan declared</b></P></TD>
<TD>Blah Blah Blah Blah Blah Blah</TD>
</TR>
<TR>
<TD colspan="2">
<p><b>This is colspan=2</b> blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah
</p>
</TD>
</TR>
</TABLE>
<!--and also consider cases where there is a width attribute on the table element itself.-->