Source code

Revision control

Copy as Markdown

Other Tools

<!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 border-style</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-color' and 'border-style'." />
<style type="text/css">
div
{
border: blue dashed;
border-width: 5px;
height: 1in;
width: 1in;
}
</style>
</head>
<body>
<p>Test passes if there is a box below with a dashed blue border.</p>
<div></div>
</body>
</html>