Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: Border set using border-color</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
<link rel="match" href="border-003-ref.xht"/>
<meta name="assert" content="The 'border' shorthand property properly accepts and sets border-color."/>
<style type="text/css">
div
{
border: blue;
border-style: solid;
border-width: 5px;
height: 100px;
width: 100px;
}
</style>
</head>
<body>
<p>Test passes if there is a hollow blue square.</p>
<div></div>
</body>
</html>