W3C home > Mailing lists > Public > www-style@w3.org > September 2001

Horizontal rules

From: Hoyt, Phil <Phil.Hoyt@globeinteractive.com>
Date: Fri, 21 Sep 2001 10:50:41 -0400
Message-ID: <F61568F110EAD411BD350008C7860164060E1879@commercial.globeinteractive.com>
To: www-style@w3.org
I have looked several times and I'm quite sure that there is no explicit
mention of horizontal rules in CSS. I'm understand that the accepted method
of styling rules is to use 'height' and 'background-color', but I think that
border styles are more appropriate since one is (in my opinion) just is
likely to, say, want a dotted hr as one with a background image. 
The frustrating thing is that IE and Netscape deal with these things
differently and there is a bit of overlap, at least in IE 5 with the old
non-style method of defining hr's. 
I feel that it is necessary to be explicit about the case of hr in css. 
One should be able to create a div with height: 0 (or width for that matter,
to make a vertical rule), and set borders that apply to the only remaining
dimension.
Received on Friday, 21 September 2001 10:49:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:10 GMT