Thank you for all your responses. I will keep these css hr set aside, but I think I'm changing the doctype to xhtml transitional instead of strict, because I have only started to convert this site to CSS and there are far too many issues that will come up with XHTML strict. Thanks for that suggestion.
Nancy On Fri, Sep 26, 2008 at 4:12 PM, Brad Kelley <[EMAIL PROTECTED]> wrote: > 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/ > ______________________________________________________________________ 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/