- From: Hakon Lie <howcome@w3.org>
- Date: Tue, 2 Dec 1997 11:20:42 +0100 (MET)
- 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.
Regards,
-h&kon
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