I think what you need to do is to contain the floated leftNav in mainBlock.
Try this: http://positioniseverything.net/easyclearing.html HTH, Prabhath http://nidahas.com On 5/27/05, Terry Jeske <[EMAIL PROTECTED]> wrote: > http://www.buzzjeske.com/untitled-1.htm > > I have a centered div "mainBlock" that contains a div "leftNav" that > is floated left. I need leftNav to be the same size as mainBlock . > If I give leftNav a height of 100%, it kind of works in Firefox, > although it appears to push bottom of leftNav into the footer div. In > IE however, the height is not effected at all with a percentage value. > > I read on some other posts that the html and body containing blocks > need their heights to be set in order to give the div some percentage > to go off of. But setting them to 100% still has no effect. On a > similar note, I read in an Eric Meyer book that the containing block > always has to have it's height set, otherwise the nested block will > default to auto. Setting mainBlock to 100% still has no effect on IE, > but in FF it pushs the footer div past the bottom of the viewport > causing a scroll. > > Any ideas on how to implement this? > > > his? > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > 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/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
