blob: 8809fd8d59b578480dde9f95a6607d64e7012029 [file] [log] [blame]
<HTML><BODY>
This table should have cell padding of 5px
<table border cellpadding=5>
<TR><TD>AAA</td><td>BBBB</td></tr>
<TR><TD>AAA</td><td>BBBB</td></tr>
</table>
</html>
<BR>
This table should have cell padding of 5px
<table border>
<TR><TD style="padding:5px;">AAA</td><td style="padding:5px;">BBBB</td></tr>
<TR><TD style="padding:5px;">AAA</td><td style="padding:5px;">BBBB</td></tr>
</table>
</html>
<BR>
This table should have cell padding of 5px
<table border cellpadding=0>
<TR><TD style="padding:5px;">AAA</td><td style="padding:5px;">BBBB</td></tr>
<TR><TD style="padding:5px;">AAA</td><td style="padding:5px;">BBBB</td></tr>
</table>
</html>
<BR>
This table should have cell padding of 5px except the 1st cell's left padding will be 0
<table border cellpadding=5>
<TR><TD style="padding-left:0px;">AAA</td><td>BBBB</td></tr>
<TR><TD >AAA</td><td>BBBB</td></tr>
</table>
<BR>
This table should have cell padding of 5px except the last cell's left padding will be 30
<table border cellpadding=5>
<TR><TD>AAA</td><td>BBBB</td></tr>
<TR><TD >AAA</td><td style="padding-left:30px;">BBBB</td></tr>
</table>
</body></html>