border-shorthands-001.xht (777B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: border-color shorthand (basic)</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/color/001.html" type="text/html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/> 8 <link rel="match" href="border-shorthands-001-ref.xht" /> 9 10 <style type="text/css"> 11 div { color: red; border: solid 1em; } 12 div { border-color: green; } 13 </style> 14 </head> 15 <body> 16 <p>There should be a green bar below.</p> 17 <div class="test"></div> 18 19 20 </body> 21 </html>