Trent Wyman


How to style the <hr /> (horizontal rule) in CSS

Categories:

Below is a quick reference to apply styling to a horizontal rule using CSS.

hr {
margin:0px;
padding:0px;
width:190px;
height:4px;
color:#ff6600;/*-- set color for IE --*/
background-color:#ff6600;/*-- needed for FireFox & Safari --*/
border-color:#ff6600;/*-- optional --*/
}


Announcements

DrupalCon Denver 2012 - I'm Going!

Press Release:
Michael C. Carlos Museum

Read the press release announcing the Drupal redesign of Emory University's Michael C. Carlos Museum. View Press Release