Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to change the color of a hr element in HTML?

NickFNickF USAMember Posts: 132

I need to change the color of a <hr/> element. Is this possible?

Comments

  • DavidMDavidM USAMember Posts: 342

    Style the border of hr as follows

    hr{
        border-top:1px <a href="/search?Search=%23ff0000&Mode=like">#ff0000</a> solid;
    }
    
Sign In or Register to comment.