/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* For regular browsers */ hr { border : 0; height : 15px; background : url(hr.gif) 50% 0 no-repeat; margin : 1em 0; } /* For IE < 8 (use conditional stylesheets) */ hr { display : list-item; list-style : url(hr.gif) inside; filter : alpha(opacity=0); width : 0; }
URL: http://css-tricks.com/snippets/css/cross-browser-hr-styling/