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.22 border
</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: medium black solid;}
11 .two {border: thin maroon ridge;}
12 .three {border:
10px teal outset;}
13 .four {border:
10px olive inset;}
14 .five {border:
10px maroon;}
15 .six {border: maroon double;}
16 .seven {border: left red solid;}
18 TD {border:
2px solid green;}
</STYLE>
22 <BODY><P>The style declarations which apply to the text below are:
</P>
23 <PRE>.one {border: medium black solid;}
24 .two {border: thin maroon ridge;}
25 .three {border:
10px teal outset;}
26 .four {border:
10px olive inset;}
27 .five {border:
10px maroon;}
28 .six {border: maroon double;}
29 .seven {border: left red solid;}
31 TD {border:
2px solid green;}
35 Note that all table cells on this page should have a two-pixel solid green border along all four sides. This border applies only to the cells, not the rows which contain them.
39 This paragraph should have a medium black solid border all the way around.
42 This paragraph should have a thin maroon ridged border all the way around.
45 This paragraph should have a ten-pixel-wide teal outset border all the way around.
48 This paragraph should have a ten-pixel-wide olive inset border all the way around.
51 This paragraph should have no border around it, as the
<TT>border-style
</TT> was not set, and it should not be offset in any way.
54 This paragraph should have a medium maroon double border around it, even though
<CODE>border-width
</CODE> was not explicitly set.
57 This paragraph should have no border around it, as its declaration is invalid and should be ignored.
60 <A NAME=
"top">The
</A> following image is also an anchor which points to a target on this page, but it should not have a border around it:
<A HREF=
"sec5522.htm#top"><IMG SRC=
"../resources/oransqr.gif" class=
"eight" alt=
"[Image]"></A>.
63 <TABLE cellspacing=
"5" border
>
65 <TD colspan=
"2">Every cell in this table should have a
2-pixel solid green border. This is also true of the table-testing section in the second half of the test page.
69 <TD>Cell one
</TD><TD>Cell two
<TABLE border
><TR><TD>Nested single-cell table!
</TD></TR></TABLE></TD>
74 This is an unstyled element.
77 <TABLE border
cellspacing=
"0" cellpadding=
"3" class=
"tabletest">
79 <TD colspan=
"2" bgcolor=
"silver"><STRONG>TABLE Testing Section
</STRONG></TD>
82 <TD bgcolor=
"silver"> </TD>
84 Note that all table cells on this page should have a two-pixel solid green border along all four sides. This border applies only to the cells, not the rows which contain them.
88 This paragraph should have a medium black solid border all the way around.
91 This paragraph should have a thin maroon ridged border all the way around.
94 This paragraph should have a ten-pixel-wide teal outset border all the way around.
97 This paragraph should have a ten-pixel-wide olive inset border all the way around.
100 This paragraph should have no border around it, as the
<TT>border-style
</TT> was not set, and it should not be offset in any way.
103 This paragraph should have a medium maroon double border around it, even though
<CODE>border-width
</CODE> was not explicitly set.
106 This paragraph should have no border around it, as its declaration is invalid and should be ignored.
109 <A NAME=
"top">The
</A> following image is also an anchor which points to a target on this page, but it should not have a border around it:
<A HREF=
"sec5522.htm#top"><IMG SRC=
"../resources/oransqr.gif" class=
"eight" alt=
"[Image]"></A>.
112 <TABLE cellspacing=
"5" border
>
114 <TD colspan=
"2">Every cell in this table should have a
2-pixel solid green border. This is also true of the table-testing section in the second half of the test page.
118 <TD>Cell one
</TD><TD>Cell two
<TABLE border
><TR><TD>Nested single-cell table!
</TD></TR></TABLE></TD>
123 This is an unstyled element.
124 </P></TD></TR></TABLE></BODY>