<hr> color in css..weird?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

<hr> color in css..weird?

Post by pleigh »

hi, any ideas why my <hr> in firefox does not reveal its color...i set its color in CSS, previewed it in internet explorer, it went fine, when viewed it in firefox, no color was revealed...any ideas why?and how can i make its color display in firefox?thanks in advance.. :)
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Provide a functional html page of sample code so we can see what you mean, and test.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Apply the color to the border... there are other ways to do it (background) too.

Code: Select all

<hr style="border: 1px solid #FF0000; margin: 10px; padding: 0;" />
Post Reply