<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html lang="en-US"> <head> <title>Shorthand border properties 2</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <link rel="copyright" href="/~dbaron/legal.html"> <style type="text/css"> p.one { border-color: red; color: green; } p.one { border: medium solid; } p.two { border-color: red; } p.two { border: medium solid; color: green; } p.three { border-color: red; border: medium solid; color: green; } p.four { color: green; border-color: red; border: medium solid; } </style> </head> <body> <h1>Shorthand border properties 2</h1> <p> This test was written to test a point I mentioned to Tantek Çelik on 2000-07-13. </p> <p class="one">This paragraph should have a green border.</p> <p class="two">This paragraph should have a green border.</p> <p class="three">This paragraph should have a green border.</p> <p class="four">This paragraph should have a green border.</p> </body></html>