shand-border-000

Shorthand Properties (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: Shorthand Properties (border)</title>
 5   <link rel="author" title="L. David Baron" href="http://dbaron.org/">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/about.html#shorthand">
 7   <style type="text/css">
 8 
 9   body { background: white; }
10   span { color: black; }
11 
12   p { color: red; }
13   p { border-color: red; }
14   p { border: medium solid; }
15   p { color: green; }
16 
17   </style>
18  </head>
19  <body>
20 
21  <p><span>This text should have a green border.</span></p>
22 
23  </body>
24 </html>