Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS Test: border-color</title>
<link rel="help" href="http://www.w3.org/TR/REC-CSS1#border-color"/>
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="match" href="c5516-brdr-c-000-ref.xht" />
<style type="text/css"><![CDATA[
.one {border-color: green; border-style: solid;}
.two {border-color: green; border-width: medium; border-style: solid;}
.three {border-color: purple green blue yellow; border-width: 2em; border-style: solid;}
]]></style>
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/>
</head>
<body>
<p class="one">
This box should have a green border.
</p>
<p class="two">
This box should have an identical green border.
</p>
<p class="three">
Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW.
</p>
</body>
</html>