HighDots Forums  

appearance of hr

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss appearance of hr in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Els
 
Posts: n/a

Default appearance of hr - 08-11-2003 , 11:54 AM






I have the following style for a <hr> in my page:
hr {
color: rgb(171,7,247);
position: absolute;
top: 105px;
width: 971px;
height: 0px;
}
In IE, NS, and Mozilla, the line has the intended color and is a
simple line.
In Opera, the color is greyish white and seems 3-dimensional. Can I
change that?

Sincerely,
Els



Reply With Quote
  #2  
Old   
Els
 
Posts: n/a

Default Re: appearance of hr - 08-13-2003 , 08:08 AM







"Mikko Rantalainen" <mira (AT) st (DOT) jyu.fi> schreef in bericht
news:bhd5s1$brp$1 (AT) mordred (DOT) cc.jyu.fi...
Quote:
Els wrote:
"Juha Häikiö" > wrote:

Els wrote:

I have the following style for a <hr> in my page:
hr { [...] }
In IE, NS, and Mozilla, the line has the intended color and is a
simple line.
In Opera, the color is greyish white and seems 3-dimensional. Can

hr {
color: rgb(171,7,247);
background: rgb(171,7,247);

Thanks, that solves the color problem, and now I also found the
reason
for the greyish shadow:
it is a border. Now I put border-width: 0px, and it looks the way
I
want.

If you don't want the border, you should really say { border:
none; }.
And if you want the border but not with a 3d look, just say
something
like { border: thin solid black; } (or perhaps replace thin with
1px.)

Thanks, that's very helpful.
Sincerely,
Els




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.