Chandu- Indyaah Chandu- Indyaah - 4 months ago 16
CSS Question

replacement for the horizontal ruler <hr> tag

I'm using the below code to generate a horizontal bar. It works in older brower versions but not in the Internet explorer 9. It won't be visible until I click on 'Compatibility View'. Do we have an alternate for this or has it got replaced?

<hr style="color:#F87431 ; height:7px "/>

Answer

Try

<hr style="background:#F87431; border:0; height:7px" />
Comments