Re: The <HR> tag

Yes, but my point is that IE seems to be the only UA that displays the color
correctly (with or without styles).  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)?
Perhaps this question is better suited in the CSS list?

Thanks,
Peter






Christian Smith <csmith@barebones.com> on 12/26/2000 12:23:56 PM

To:   www-html@w3.org
cc:    (bcc: Peter Foti)

Subject:  Re: The <HR> tag



On Tuesday, December 26, 2000 at 11:10, pdf@bizfon.com wrote:

> In HTML4, the HR tag does not contain any attributes that let you
> specify the color.  However, IE seems to allow you to set a color
> attribute (IE also lets you control the color with style sheets).
> Changing the color of an HR seems like it would be a very common
> thing.  I'm just wondering why this hasn't been added to the HTML
> specs?  Is there some better way to create a colored horizontal rule
> that I don't know about?

Because this is precisely the sort of thing which is supposed to be
provided for via styles. Note that all presentational attributes for HR
have been deprecated in HTML 4.0 so it would be counter productive to
add a new attrbute for the color of the bar.

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