Micky Hulse wrote:
>> Generally, there is no best fix for things in CSS. There are multiple
>> ways to do things. If something works in your layout and target
>> browsers, and uses the leanest markup or CSS possible, go for it.
> Sounds good to me. And yep, appears to work great in IE6 and Firefox.
> I guess I was just surprised to see the body tag shrink-wrapping to my
> content... I always thought it was more of an invisible element (like
> html element) - or, well, an element that did not behave like a
> "container" div... Anyway, thanks for the feedback, I really appreciate
> your time. :)
If you want to get even more confused, you should experiment with the
differences of the body element between HTML and XHTML Strict. :-) The
body element does not always take up the entire viewport, as you may
expect it to do.
Anyway, glad you found a solution that worked for you.
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/