I'm using the following css:

hr /*hr tag wordt hier opgemaakt, color werkt alleen met IE*/
{
width: 25%;
color: #CC00CC;
}

This, however, only works in IE. I assume this means that color is not an offically supported W3C property. Now I'd like to know how I can make this work in firefox too.

Could anyone explain?

Thank You,

Pim

Use the background-color property for Firefox.

hr {
  background-color:#CC00CC;
  color: #CC00CC;
  width: 25%;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.