Changeing a horizontal rule color

Started by 1MileCrash, July 23, 2005, 08:10:34 PM

Previous topic - Next topic

1MileCrash

anybody know how this can be done? Im trying to change the color of my <HR>'s. I dont know if it's possible.

Somebody told me something about useing an empty <div></div> instead, but i dont know anything about how that would work. So if anybody could explain?
The only thing php can't do is tell you how much milk is left in the fridge.



۞

<hr style="background-color: #0000FF; border: 0">

That will set the colour to blue :)

The border is removed because otherwise you get a 1px grey border around the hr and using the default height you can't actually see the backgrouund.
TTTTTT  OOOOOO MMMMMM   BBBBBB


1MileCrash

i put this
<hr style="background-color: #CCCCCC; border: 0">

no good.  :(
The only thing php can't do is tell you how much milk is left in the fridge.



1MileCrash

ahh, i just did it from style.css. Now all of them are #cccccc, but that's fine.

Thanks anyway!  :D

If anyone does know the solution, please let me know.
The only thing php can't do is tell you how much milk is left in the fridge.



[Unknown]

You have to set color and background-color.

-[Unknown]

Advertisement: