Html – CSS change color of hr tag

csshtml

Possible Duplicate:
CSS : change color of hr tag

how do you change the color of an hr tag? i looked it up and found this, but it didnt work..

hr{
    color:#CCC;
    background-color:#CCC;
}

Any ideas?

Best Solution

Style the border.

hr{
   border: 1px solid #ccc;
}