c5516-ibrdr-c-000

border-color

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 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   <style type="text/css">
 9    p { margin: 3em; }
10    .one {border-color: green; border-style: solid;}
11    .two {border-color: green; border-width: medium; border-style: solid;}
12    .three {border-color: purple green blue yellow; border-width: 2em; border-style: solid;
13            line-height: 6em;}
14   </style>
15   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties">
16  </head>
17  <body>
18   <p>
19    <span class="one">This box should have a green border.</span>
20   </p>
21   <p>
22    <span class="two">This box should have a green border.</span>
23   </p>
24   <p>
25     Clockwise from top, the borders around
26    <span class="three">THIS&nbsp;PHRASE</span>
27     should be: PURPLE, GREEN, BLUE, YELLOW.
28   </p>
29  </body>
30 </html>