CSS2 Test Suite: 8.5.2 border-color

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

.test {background-color: silver; border-style: solid;}
.cl1 {border-color: green;}
.cl2 {border-color: green red blue purple;}
.cl3 {border-color: green red blue;}
.cl4 {border-color: green red;}


[test] This 'p' element should have a default-color medium-width border applied to it; the border's color should match the color of the text in the element.

[test cl1] This 'p' element should have a green border.

[test cl2] This 'p' element should have a green top border, a red right border, a blue bottom border, and a purple left border.

[test cl3] This 'p' element should have a green top border, a red right border, a blue bottom border, and a red left border.

[test cl4] This 'p' element should have a green top border, a red right border, a green bottom border, and a red left border.


[index page] [section] [Previous] [Next] [Specification]