me, myself & andrei

23 Apr 2006
Styled Horizontal Lines - HR

In HTML you have the HR tag.

A problem arises when you want to style it, in a cross-browser way.

Usually you would have to set it’s CSS property “color” to a color - by name, RGB code, etc.

In Firefox it’s of no use. The hack is to add the same color to the “background-color” property.