W3C home > Mailing lists > Public > www-html@w3.org > December 2000

Re: The <HR> tag

From: Christian Smith <csmith@barebones.com>
Date: Tue, 26 Dec 2000 12:57:16 -0500
To: www-html@w3.org
Message-ID: <20001226125717-r01010600-b33ad93f@>
On Tuesday, December 26, 2000 at 12:41, pdf@bizfon.com wrote:

> Yes, but my point is that IE seems to be the only UA that displays the
> color correctly (with or without styles). 

IE is the only UA I've used with any sort of decent support for style

> I guess my question is, how does one know what a valid style attribute
> is for the HR tag? Obviously, styles that pertain to fonts
> (font-family, etc.) would have no effect on an HR tag, so who is to
> say that a color style would have an effect?  And then, should it be
> color or background-color (I think both of these will change the color
> of an HR in IE)?

You have to look at the CSS spec to see this. The CSS spec says that the
"color" property applies to all elements so this would be valid for HR.
Since "color" sets the color of the element and the element is the bar
this would be the appropriate property to set (as opposed to background
or background-color which should set the colro of the background of the

> Perhaps this question is better suited in the CSS list?


Christian Smith  |  csmith@barebones.com  |  http://web.barebones.com

He who dies with the most friends... Is still dead!
Received on Tuesday, 26 December 2000 12:57:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:55 UTC