View Full Version : <hr> in css


burningstars
07-07-2003, 03:06 AM
Is there a way to change your css to make all your <hr>'s dashed instead of a solid line? Or even without css? I searched the forum but all of them just said how to change the color and width. Thanks!

lefty
07-07-2003, 03:15 AM
This is the best I could come up with:

<style type="text/css">
<!--
hr {
border-style:dashed;
border-color:000000; }
-->
</style>

This:
<hr size=1 style="border-style:dashed; border-color:000000;">
produces a thinner line, but I can't figure out how to get the "size" attribute to convert to css. :\

burningstars
07-07-2003, 03:18 AM
the first one worked! thanks

lefty
07-07-2003, 03:19 AM
yay! you're welcome :)