No height on the wrapper... "If I assign a fixed height to #wrapper all is well but obviously that isn't very practical"
Kim ----- Original Message ----- From: "Martin Chapman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 9:41 PM Subject: Re: [WSG] Mozilla problem > > Have you set a height of the wrapper div? > > > > On 19 Feb 2004, at 19:26, Kim Kruse wrote: > > > > > Hi group... I'm Kim :o) > > > > lets say I have the following site structure: > > > > > > <div id="wrapper"> > > > > <div id="header"> > > header... > > </div> > > > > <div id="main"> > > comtent... > > </div> > > > > <div id="col"> > > content... > > </div> > > > > <div id="footer"> > > content... > > </div> > > </div> > > > > .. and I set a 1px solid border on #wrapper, in every browser apart > > from > > Mozilla I get the expected result which is a nice 1px border around > > all my > > content, however in Mozilla all I get is the border a few pixels under > > the > > header. > > > > I should add my 3 divs named #main, #col, #footer are floated left > > which is > > probably the reason Mozilla can't decide the height. If I assign a > > fixed > > height to #wrapper all is well but obviously that isn't very practical. > > > > So apart from using JavaScript to calculate the height of #wrapper > > content, > > is there a fix for this? I have no problem in Opera, Safari e.t.c so I > > assume this is a Mozilla bug of some description. > > > > ***************************************************** > > The discussion list for http://webstandardsgroup.org/ > > ***************************************************** > > > > > Kind regards > Martin Chapman > > -- > > Web development, identity and design. > > co-ord.com Limited > 9 Tynwald Road > West Kirby > Merseyside > CH48 4DA > > Tel: +44 (0)151 625 1443 > Email: [EMAIL PROTECTED] > > http://www.co-ord.com > > -- > > ***************************************************** > The discussion list for http://webstandardsgroup.org/ > ***************************************************** > ***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************