3 .foo {border:
1px dashed red;}
7 <p>Tests of padding in table cells.
</p>
9 <table border=
0 cellpadding=
10><tr><td valign=top
>
11 <p><b>1) padding:
20px
</b></p>
13 <tr><td style=
"padding:20px;"><div class=
"foo">FOO
</div></td></tr>
18 <p><b>2) padding:
10px
25px
30px
45px;
</b></p>
20 <tr><td style=
"padding: 10px 25px 30px 45px;"><div class=
"foo">FOO
</div></td></tr>
26 <table border=
0 cellpadding=
10><tr><td valign=top
>
28 <p><b>3) padding-left:
20px
</b></p>
30 <tr><td style=
"padding-left:20px;"><div class=
"foo">FOO
</div></td></tr>
35 <p><b>4) padding-right:
20px
</b></p>
37 <tr><td style=
"padding-right:20px;"><div class=
"foo">FOO
</div></td></tr>
42 <p><b>5) padding-top:
20px
</b></p>
44 <tr><td style=
"padding-top:20px;"><div class=
"foo">FOO
</div></td></tr>
49 <p><b>6) padding-bottom:
20px
</b></p>
51 <tr><td style=
"padding-bottom: 20px;"><div class=
"foo">FOO
</div></td></tr>
57 <p><b>misc) padding:
20px
10px
40px
0px
</b></p>
59 <tr><td style=
"padding: 20px 10px 40px 0px;"><div class=
"foo">FOO
</div></td></tr>
62 <p><b>misc) padding-top:
10px; padding-bottom:
20px;
</b></p>
64 <tr><td style=
"padding-top: 10px; padding-bottom: 20px;"><div class=
"foo">FOO
</div></td></tr>