I can't seem to change the color of my horizontal rules?
This doesn't work:
hr { color: #CC0000; }
Why not, and what's the solution?
Thanks
Nick
bobriggs
3:56 pm on Oct 27, 2002 (gmt 0)
I have used this property on <hr>, however it only seems to work on IE. Mozilla and Opera do not seen to support it, and that may be because they're being strict about the definition:
This property describes the foreground color of an element's text content...
You can also define an empty div which only has a top or bottom border and use this in place of an hr. This way you can also have dotted and dashed hr's.