Creating custom HRs or something like it

windows

Guest
Is there a way to alter the appearance of an HR? To change the color, width, height, etc. in style sheets? Any advice or direction towards a helpful resource would be appreciated. Thank you.You can apply styles to <hr> but you're probably better off creating visual hrs using appropriately styled divs.Rather than appropriately styling div's, try to see if you could just apply a bottom or top border to some of your already existing elements.But just in case you still want to use CSS:


hr {
border: none;
background-color: #ADD8E6;
color: #ADD8E6;
height: 1px;
width: 80%;
}Originally posted by lavalamp
Rather than appropriately styling div's, try to see if you could just apply a bottom or top border to some of your already existing elements. Great point!
 
Back
Top