W3C home > Mailing lists > Public > www-html@w3.org > May 1999

Re: how to make a bar between rows?

From: Sue Sims <sue@css.nu>
Date: Thu, 27 May 1999 14:22:04 GMT
To: www-html@w3.org
Message-ID: <374f542c.13851517@mailhost.worldnet.att.net>
>Anybody know how to make a horizontal bar with a specified color between
>two rows, like this example?

For CSS aware browsers:

<style type="text/css">
.navbar {border-top: 2px blue solid; border-top-width: 2px;
border-color: blue; width: 30%;}
</style>
<p class="navbar">Home</p>
<p class="navbar">About Us</p>
<p class="navbar">Contact</p>

The declaration includes workaround rules for a specific CSS broken
browser. 
-- 
Sue Sims <sue@css.nu>
CSS Pointers Group
<URI:http://css.nu/>
Received on Thursday, 27 May 1999 10:26:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:39 GMT