Click to See Complete Forum and Search --> : Creating custom HRs or something like it


palmertires
12-13-2004, 11:03 PM
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.

ray326
12-13-2004, 11:40 PM
You can apply styles to <hr> but you're probably better off creating visual hrs using appropriately styled divs.

David Harrison
12-14-2004, 01:22 AM
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.

LeeU
12-14-2004, 09:55 AM
But just in case you still want to use CSS:


hr {
border: none;
background-color: #ADD8E6;
color: #ADD8E6;
height: 1px;
width: 80%;
}

ray326
12-14-2004, 11:38 PM
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!