On Sep 26, 2008, at 12:07 PM, Chris Akins wrote:

> hr
> {border:1px solid rgb(203,204,220);
>   border-width: 1px 0 0;
>   clear: both;
>   margin: 15px 15%;
>   height: 0;
> }
>
> I can't tell you why the clear:both and height:0 needs to be in
> there.  Perhaps someone here can shed some light on those details.

I believe that if you don't specify a zero height, you'll actually  
see the normal HR element, which is not what you're wanting. You're  
basically only seeing the border you're giving it, not the actual  
element.

The clear:both simply means to negate any floating that may be to the  
left or right, so this thing has the whole line to itself.

Hope this helps,
Brad =)
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to