CSS1 Test Suite: 5.5.22 border


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 20 August 1998

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;}


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: .

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: .


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