c5516-ibrdr-c-000.xht (1279B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: border-color</title> 5 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#border-color"/> 6 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 7 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 8 <link rel="match" href="c5516-ibrdr-c-000-ref.xht" /> 9 10 <style type="text/css"><![CDATA[ 11 p { margin: 3em; } 12 .one {border-color: green; border-style: solid;} 13 .two {border-color: green; border-width: medium; border-style: solid;} 14 .three {border-color: purple green blue yellow; border-width: 2em; border-style: solid; 15 line-height: 6em;} 16 ]]></style> 17 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/> 18 </head> 19 <body> 20 <p> 21 <span class="one">This box should have a green border.</span> 22 </p> 23 <p> 24 <span class="two">This box should have a green border.</span> 25 </p> 26 <p> 27 Clockwise from top, the borders around 28 <span class="three">THIS PHRASE</span> 29 should be: PURPLE, GREEN, BLUE, YELLOW. 30 </p> 31 </body> 32 </html>