CSS1 Test Suite: 5.5.22 border


[Previous] [Next] [Section] [Contents] [Specification]

The style declarations which apply to the text below are:

.one {border: medium black solid;}
.two {border: thin maroon ridge;}
.three {border: 10px teal outset;}
.four {border: 10px olive inset;}
.five {border: 10px maroon;}
.six {border: maroon double;}
.seven {border: left red solid;}
.eight {border: 0px;}
TD {border: 2px solid green;}

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.

This paragraph should have a medium black solid border all the way around.

This paragraph should have a thin maroon ridged border all the way around.

This paragraph should have a ten-pixel-wide teal outset border all the way around.

This paragraph should have a ten-pixel-wide olive inset border all the way around.

This paragraph should have no border around it, as the border-style was not set, and it should not be offset in any way.

This paragraph should have a medium maroon double border around it, even though border-width was not explicitly set.

This paragraph should have no border around it, as its declaration is invalid and should be ignored.

The following image is also an anchor which points to a target on this page, but it should not have a border around it: [Image].

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.
Cell oneCell two
Nested single-cell table!

This is an unstyled element.

TABLE Testing Section
 

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.

This paragraph should have a medium black solid border all the way around.

This paragraph should have a thin maroon ridged border all the way around.

This paragraph should have a ten-pixel-wide teal outset border all the way around.

This paragraph should have a ten-pixel-wide olive inset border all the way around.

This paragraph should have no border around it, as the border-style was not set, and it should not be offset in any way.

This paragraph should have a medium maroon double border around it, even though border-width was not explicitly set.

This paragraph should have no border around it, as its declaration is invalid and should be ignored.

The following image is also an anchor which points to a target on this page, but it should not have a border around it: [Image].

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.
Cell oneCell two
Nested single-cell table!

This is an unstyled element.


[Previous] [Next] [Section] [Contents] [Specification]