c5522-brdr-000

border

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</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#border">
 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 { color: blue; padding: 1em; }
10    .one {border: orange solid;}
11    .three {border: thick orange outset;}
12    .four {border: thick orange inset;}
13    .two {border: 10px orange ridge;}
14    .six {border: 10px orange double;}
15    .five {border: 10px red;}
16    .seven {border: left red solid;}
17   </style>
18   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties">
19  </head>
20  <body>
21   <p>The borders should be as described.</p>
22   <p class="one">
23    Orange and solid.
24   </p>
25   <p class="three">
26    Orange and outset.
27   </p>
28   <p class="four">
29    Orange and inset.
30   </p>
31   <p class="two">
32    Orange and ridged.
33   </p>
34   <p class="six">
35    Orange and double.
36   </p>
37   <p class="five">
38    No border.
39   </p>
40   <p class="seven">
41    No border.
42   </p>
43   <p>
44    No border.
45   </p>
46  </body>
47 </html>