HR Style

The hr html entity needs to be styled with both color and background-color attributes to display the desired color in all browsers. It is also adviced to define border 0 for the hr in the style sheet.


hr {
color: #c7c7c7;
background-color: #c7c7c7;
border: 0;
margin-bottom: 1em;
margin-top: 1em;

Comments are closed.