Re: Setting hr size with CSS

by "Bert Doorn" <bert(at)betterwebdesign.com.au>

 Date:  Thu, 22 Nov 2001 09:33:50 +0800
 To:  "Raj Bhaskar" <raj(at)lordofthemoon.com>,
<hwg-basics(at)hwg.org>
 References:  localhost
  todo: View Thread, Original
G'day

> Is there a CSS equivalent of the HR size attribute?

Yes, it's called height.  Here's an example from a site I designed:

hr  {
  color: navy;
  height: 1px;
  }

You can also use border, but this causes problems in Netscrape 4 - it
displays the border separately, as a tiny box.  Using "height" is safer (it
actually doesn't do anything in that old browser)

Regards
--
Bert Doorn, Web Developer
CIW Associate, IWA Member
www.betterwebdesign.com.au
Fast Loading, User Friendly Websites

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA