Barney Carroll wrote:
> [EMAIL PROTECTED] wrote:
>> Does anyone know how to get a colored HR (no, I don't mind capitalizing the
>> tag name when it's not actually in an XHTML document) to show properly
>> without a white border in IE and without rounded edges in Firefox?
>
> I think the consensus is that you can't adequately style HRs.
>
> When I've been required to create horizontal rules I usually just create
> a div.horizontalRule. However if you still want to keep the HR for the
> sake of non-CSS agents, you could wrap your HR inside a classed DIV, and
> have
>
> .horizontalRule
> {clear:both;height:2px;width:100%;background-color:orange;}
>
> .horizontalRule HR
> {display:none;}
Question: With CSS off, would that leave extra space above and below the HR?
--
David
[EMAIL PROTECTED]
authenticity, honesty, community
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/