Previous Message
Next Message

Re: [css-d] New Post - <hr> color?

Sent by Ben Nunn on 30 January 2002 11:11


> Is there a way to specify the color of a horizontal rule using CSS?
>
> hr {color : red;}
>
> doesn't seem to work...
>
> I have managed to add colored borders (border-top and border-bottom) but
the
> line itself remains stubbonly grey!

Not very elegant, but if you set height to 0px, and have a border, you will
achieve the effect you want.

BTN
Previous Message
Next Message

Possibly related: