W3C home > Mailing lists > Public > www-style@w3.org > December 1997

[Fwd: CSS and HR]

From: Hakon Lie <howcome@w3.org>
Date: Tue, 2 Dec 1997 11:20:42 +0100 (MET)
Message-Id: <199712021020.LAA21826@stovner.a.sol.no>
To: "Diego E. Menta" <dmenta@ceadig.fadu.uba.ar>, www-style@w3.org
Sally Khudairi forwarded

 > From: "Diego E. Menta" <dmenta@ceadig.fadu.uba.ar>
 > Subject: CSS and HR
 > hello,
 > Is there any way of replacing the NOSHADE attr of the HR element with CSS,
 > in order to make a solid line?

Rather than trying to influence the HR element, you can add borders to
elements with content. For example, if you would like a horizontal
line before all H1 elements, you could say:

  H1 { border-top: solid }

This results in cleaner markup, but older browsers don't get it.



H      k   o   n      W   i   u   m       L   i   e
howcome@w3.org      http://www.w3.org/people/howcome
World     W      i     d     e       Web  Consortium
Received on Tuesday, 2 December 1997 05:21:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:45 UTC