Re: [Fwd: CSS and HR]

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 }

pleasing. 

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

Steve

>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