1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
4 <TITLE>CSS1 Test Suite:
5.5.1n border-*
</TITLE>
5 <META http-equiv=
"Content-Style-Type" content=
"text/css">
12 <p style=
"font-weight: bold;"><code><table
></code> has
<code>border
</code> attribute;
13 <code><td
></code> have
<code>style=
"border-top: green 10px solid;"</code>.
</p>
15 <TABLE cellspacing=
"5" border
>
17 <TD style=
"border-top: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green top border.
21 <TD style=
"border-top: green 10px solid;">Cell one
</TD><TD style=
"border-top: green 10px solid;">Cell two
22 <TABLE border
><TR><TD style=
"border-top: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
28 <p style=
"font-weight: bold;"><code><table
></code> has *no*
<code>border
</code> attribute;
29 <code><td
></code> have
<code>style=
"border-top: green 10px solid;"</code>.
</p>
31 <TABLE cellspacing=
"5">
33 <TD style=
"border-top: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green top border.
37 <TD style=
"border-top: green 10px solid;">Cell one
</TD><TD style=
"border-top: green 10px solid;">Cell two
38 <TABLE><TR><TD style=
"border-top: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
46 <p style=
"font-weight: bold;"><code><table
></code> has
<code>border
</code> attribute;
47 <code><td
></code> have
<code>style=
"border-right: green 10px solid;"</code>.
</p>
49 <TABLE cellspacing=
"5" border
>
51 <TD style=
"border-right: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green right border.
55 <TD style=
"border-right: green 10px solid;">Cell one
</TD><TD style=
"border-right: green 10px solid;">Cell two
56 <TABLE border
><TR><TD style=
"border-right: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
62 <p style=
"font-weight: bold;"><code><table
></code> has
<code>border
</code> attribute;
63 <code><td
></code> have
<code>style=
"border-right: green 10px solid;"</code>.
</p>
65 <TABLE cellspacing=
"5">
67 <TD style=
"border-right: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green right border.
71 <TD style=
"border-right: green 10px solid;">Cell one
</TD><TD style=
"border-right: green 10px solid;">Cell two
72 <TABLE><TR><TD style=
"border-right: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
79 <h3>border-bottom
</h3>
81 <p style=
"font-weight: bold;"><code><table
></code> has
<code>border
</code> attribute;
82 <code><td
></code> have
<code>style=
"border-bottom: green 10px solid;"</code>.
</p>
84 <TABLE cellspacing=
"5" border
>
86 <TD style=
"border-bottom: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green bottom border.
90 <TD style=
"border-bottom: green 10px solid;">Cell one
</TD><TD style=
"border-bottom: green 10px solid;">Cell two
91 <TABLE border
><TR><TD style=
"border-bottom: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
97 <p style=
"font-weight: bold;"><code><table
></code> has *no*
<code>border
</code> attribute;
98 <code><td
></code> have
<code>style=
"border-bottom: green 10px solid;"</code>.
</p>
100 <TABLE cellspacing=
"5">
102 <TD style=
"border-bottom: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green bottom border.
106 <TD style=
"border-bottom: green 10px solid;">Cell one
</TD><TD style=
"border-bottom: green 10px solid;">Cell two
107 <TABLE><TR><TD style=
"border-bottom: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
116 <p style=
"font-weight: bold;"><code><table
></code> has
<code>border
</code> attribute;
117 <code><td
></code> have
<code>style=
"border-left: green 10px solid;"</code>.
</p>
119 <TABLE cellspacing=
"5" border
>
121 <TD style=
"border-left: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green left border.
125 <TD style=
"border-left: green 10px solid;">Cell one
</TD><TD style=
"border-left: green 10px solid;">Cell two
126 <TABLE border
><TR><TD style=
"border-left: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
132 <p style=
"font-weight: bold;"><code><table
></code> has *no*
<code>border
</code> attribute;
133 <code><td
></code> have
<code>style=
"border-left: green 10px solid;"</code>.
</p>
135 <TABLE cellspacing=
"5">
137 <TD style=
"border-left: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green left border.
141 <TD style=
"border-left: green 10px solid;">Cell one
</TD><TD style=
"border-left: green 10px solid;">Cell two
142 <TABLE><TR><TD style=
"border-left: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
151 <p style=
"font-weight: bold;"><code><table
></code> has
<code>border
</code> attribute;
152 <code><td
></code> have
<code>style=
"border: green 10px solid;"</code>.
</p>
154 <TABLE cellspacing=
"5" border
>
156 <TD style=
"border: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green border.
160 <TD style=
"border: green 10px solid;">Cell one
</TD><TD style=
"border: green 10px solid;">Cell two
161 <TABLE border
><TR><TD style=
"border: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>
167 <p style=
"font-weight: bold;"><code><table
></code> has *no*
<code>border
</code> attribute;
168 <code><td
></code> have
<code>style=
"border: green 10px solid;"</code>.
</p>
170 <TABLE cellspacing=
"5">
172 <TD style=
"border: green 10px solid;" colspan=
"2">Every cell in this table should have a
10-pixel solid green border.
176 <TD style=
"border: green 10px solid;">Cell one
</TD><TD style=
"border: green 10px solid;">Cell two
177 <TABLE><TR><TD style=
"border: green 10px solid;">Nested single-cell table!
</TD></TR></TABLE>