Re: The <HR> tag

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
sheets.

> 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
element)

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

Probably.

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