Hi Joseph,

> The <hr> red lines in my site design work rather well.   So it is a
> pity Opera renders them as grey.   Is there any way to get Opera to
> fall in line?   I am using CSS for the colour.

This is down to a difference of opinion between IE and Opera/Mozilla.

IE reckons that an <hr> is just a line, and uses the "color" definition to
style it. Opera and Mozilla think that an <hr> is a box with nothing in it
(somewhat like a <div> with no content), and look for the "border-color"
definition.

Point your browsers at www.laughing-buddha.net/tmp/hr.html and you'll see
the difference.

Assuming you want a 2 pixel high red <hr>, try this:

hr {
 height : 2px;
 border-width : 2px 0px 0px 0px;
 border-style : solid;
 border-color : #F00;
 color : #F00;
}

Cheers
Jon


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to