aquaben Posted August 23, 2010 Share Posted August 23, 2010 HeyIs there a way to chaneg the color of an <hr> ???if so please let me know Link to comment Share on other sites More sharing options...
chibineku Posted August 23, 2010 Share Posted August 23, 2010 <hr> is depracated in HTML 4 / XHTML 1.1 and should be replaced by an appropriate border. However you can style them with CSS or inline in the normal fashion, I believe, e.g.: <hr style="color: red;"> or: hr {color: red;} Link to comment Share on other sites More sharing options...
dsonesuk Posted August 23, 2010 Share Posted August 23, 2010 afraid you have to use a combination of background-color:, border: none;, color: and height.hr {background-color:#00FFCC; /* FF, Opera, IE8, */ color:#00FFCC; /*IE6, IE7*/ height:2px;/* Opera, IE8*/ border:none;/*Opera, IE8*/} Link to comment Share on other sites More sharing options...
dsonesuk Posted August 23, 2010 Share Posted August 23, 2010 Or use a div, using padding, margins, an border top or bottom, then you can use dashed, dotted etc instead. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.