View Full Version : Color the HR


DuncansOneLove
05-12-2004, 05:55 AM
Hiya,

Does anyone know if it's possible to make the Horisontal rule's a certain color and if it is, how do you do it? Is it using the font color tag?

liamd
05-12-2004, 06:14 AM
<hr color="#urcolor">

is that what u mean?

DuncansOneLove
05-12-2004, 07:08 AM
Yes thankyou :)

liamd
05-12-2004, 07:58 AM
no problem! :D

DuncansOneLove
05-13-2004, 03:07 AM
Hi again. Don't suppose you know how to make it longer and wider? I have tried "height="#number" but it doesn't work

kittycat
05-13-2004, 03:10 AM
width- width="#"
height- size="#"

DuncansOneLove
05-13-2004, 05:41 AM
Will that work?

liamd
05-13-2004, 08:02 AM
yea it should work fine, just put it in next to the color :)

example <hr color="#" width="?" height="?">

and ur all set, also, u can add things like border="0" (0 will equal no border..) etc etc :D

DuncansOneLove
05-13-2004, 08:12 AM
Wicked. Thankyou :D

liamd
05-13-2004, 08:41 AM
no worries :)

DuncansOneLove
05-13-2004, 08:53 AM
:)

pb&j
05-13-2004, 02:13 PM
example <hr color="#" width="?" size="?">
the HR uses SIZE instead of HEIGHT.
using css coding may be an alternative thought.

Calidris
05-15-2004, 12:51 AM
Agreed @ the CSS suggestion. Something like this:
<style type="text/css">
hr { height: 0; width: 100%; border-top: 1px solid #ccc; }
</style>:)