PDA

View Full Version : <hr/> 's in Mozzy



mouse
07-19-2002, 05:11 PM
Is it possible to color my <hr/>'s in Mozilla, I'm testing in Moz 1.0 and my - usually #730 - rules are that boring grey...

Also I'm finding these test reply boxes squished, what's that all about? :eek:

boxer_1
07-19-2002, 06:55 PM
For example, if you want a red hr, try this for Mozilla:

<html>
<head>
<title>HR style Example</title>
</head>
<body>
<br />
<hr style="background-color: #ff0000;" align="center" size="3" width="500" />
<br />
</body>
</html>

Any help?

mouse
07-19-2002, 07:00 PM
Indeed it does, although it needs a noshade thrown in otherwise it looks weird. :thumbsup:

Is it possible to specify noshade in CSS or must I put it in every <hr/> tag?

La Gal
07-19-2002, 09:02 PM
Originally posted by mouse
Is it possible to specify noshade in CSS or must I put it in every <hr/> tag?

Hiya mouse, good question. The noshade attribute has been deprecated - so yes, you should use styles instead. Darned if I know how though, but there must be a CSS equivalent???

mouse
07-19-2002, 09:36 PM
Mozzy users will be stuck with grey rule's then, the 3D coloured ones look bad in Mozilla 1.0 and IE doesn't need noshade specifying when color is set.

jkd
07-19-2002, 10:52 PM
hr {
border-style: solid;
}

:)