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

Re: [Fwd: CSS and HR]

From: Steve Knoblock <knoblock@worldnet.att.net>
Date: Thu, 04 Dec 1997 12:19:07 -0500
Message-Id: <>
To: www-style@w3.org
It's sometimes difficult to decide when to include HR elements in a
document---are they part of the style or part of the document? What happens
when the style changes and HR's are no longer needed? I wonder if it might
be a good idea to eliminate HR from HTML for the reason that it's too close
to presentational markup. There could be situations where you want a HR
where there is not any content.

I find

H1 { border-left: 1px [color here] solid; border-top: 1px [color here] solid }


Yes, it does degrade plainly, but at least you have the heading's natural
(oops, default style sheet) whitespace to fall back on.


>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:

   _/ Steve Knoblock                      mailto:editor@city-gallery.com
   _/ City Gallery                            http://www.city-gallery.com/
   _/ Member NSA               http://www.3d-web.com/nsa/nsa.htm
Received on Thursday, 4 December 1997 12:26:25 UTC

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