Brian M. Curran wrote: > Hello All, > I'm dealing with my footer right now for my site www brianmcurran com. I've > tinkered with my settings since my last post, and they now are: > > #footer { > clear: both; > margin: 0; padding: 0; > height: 1%; > background: #222; > color: #fff; > } > > #footer p { > margin: 0; padding: 10px 0 10px 10px; > } > > Everything looks nice now, but question: Do I want to be using height:1%; ? > 1. I thought it was a necessary hack for IE6, but I couldn't get any clarity > on the hack from a Google search. > 2. Can't I just leave it out and let the #footer height be defined by the > contents? > > Sincerely, > Brian
Take a look at the footer here in IE6. <http://css-class.com/x/brian-ie6-hack.htm> And take a look at the footer here in IE6. <http://css-class.com/x/brian-no-ie6-hack.htm> Noticed how the footer on the later test rises to the sidebar, if not refresh the screen. Now move a smaller window over the expanded footer under the sidebar. What you see is the IE6 pee-ka-boo bug. The hasLayout trigger stops it. BTW, the height:1% does not affect the size of the footer in any browser (excluding IE6 of course). -- Alan http://css-class.com/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/