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.18 border-top
</TITLE>
5 <META http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
6 <META http-equiv=
"Content-Style-Type" content=
"text/css">
8 <LINK rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"../resources/base.css">
9 <STYLE type=
"text/css">
10 .one {border-top: purple double
10px;}
11 .two {border-top: purple thin solid;}
12 .three {border-top: black medium solid;}
13 TD {border-top: green
2px solid;}
</STYLE>
17 <BODY><P>The style declarations which apply to the text below are:
</P>
18 <PRE>.one {border-top: purple double
10px;}
19 .two {border-top: purple thin solid;}
20 .three {border-top: black medium solid;}
21 TD {border-top: green
2px solid;}
25 Note that all table cells on this page should have a two-pixel solid green border along their top sides. This border applies only to the cells, not the rows which contain them.
29 This paragraph should have a purple, double,
10-pixel top border.
32 This paragraph should have a thin purple top border.
35 <TABLE cellspacing=
"5" border
>
37 <TD colspan=
"2">Every cell in this table should have a
2-pixel solid green top border. This is also true of the table-testing section in the second half of the test page.
41 <TD>Cell one
</TD><TD>Cell two
42 <TABLE border
><TR><TD>Nested single-cell table!
</TD></TR></TABLE>
48 <LI class=
"three">This is a list item...
51 <LI>...is a second list...
52 <LI>...nested within the list item.
55 <LI class=
"three">This is a second list item.
</LI>
56 <LI class=
"three">Each list item in this list should have a medium-width black border at its top.
60 <TABLE border
cellspacing=
"0" cellpadding=
"3" class=
"tabletest">
62 <TD colspan=
"2" bgcolor=
"silver"><STRONG>TABLE Testing Section
</STRONG></TD>
65 <TD bgcolor=
"silver"> </TD>
67 Note that all table cells on this page should have a two-pixel solid green border along their top sides. This border applies only to the cells, not the rows which contain them.
71 This paragraph should have a purple, double,
10-pixel top border.
74 This paragraph should have a thin purple top border.
77 <TABLE cellspacing=
"5" border
>
79 <TD colspan=
"2">Every cell in this table should have a
2-pixel solid green top border. This is also true of the table-testing section in the second half of the test page.
83 <TD>Cell one
</TD><TD>Cell two
84 <TABLE border
><TR><TD>Nested single-cell table!
</TD></TR></TABLE>
90 <LI class=
"three">This is a list item...
93 <LI>...is a second list...
94 <LI>...nested within the list item.
97 <LI class=
"three">This is a second list item.
</LI>
98 <LI class=
"three">Each list item in this list should have a medium-width black border at its top.
100 </TD></TR></TABLE></BODY>