c5518-brdr-t-000

border-top

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-top</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#border-top">
 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; }
10    .one {border-top: blue double 10px;}
11    .two {border-top: blue thin solid;}
12   </style>
13   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties">
14  </head>
15  <body>
16   <p class="one">
17    This paragraph should have two blue lines directly above it.
18   </p>
19   <p class="two">
20    This paragraph should have a single thin blue line directly above it.
21   </p>
22  </body>
23 </html>