Thanks Divya I used min-height and it works well for IE 8 and FF. What is the 
workaround for IE6 please? Thank you 

--- On Sat, 6/20/09, Divya Manian <divya.man...@gmail.com> wrote:

> From: Divya Manian <divya.man...@gmail.com>
> Subject: Re: [css-d] Height 100%
> To: "trevor bayliss" <bayliss_tre...@yahoo.com>, css-d@lists.css-discuss.org
> Date: Saturday, June 20, 2009, 11:28 PM
> Hi Trevor
> 
> 
> On 6/20/09 11:18 PM, "trevor bayliss" <bayliss_tre...@yahoo.com>
> wrote:
> 
> > 
> > Hi all,
> > I changed the height of the div #insidecentre to 100%
> instead of 535px as the
> > fixed pixel height was making the text in the div
> overlap the footer.
> > 100% works fine to sort out that problem but now the
> div is only as high as
> > the text inside the div and when there is little text
> this means the div is
> > too small (I would like it to be 535px).
> > 
> > http://tinyurl.com/lch7u3
> > 
> > What is another css solution to this problem?
> Thank-you in advance
> > 
> 
> You can set the min-height of the div to be 535px this
> means it will be
> minimum 535px and expand if the div has more text.
> 
> For IE 6, you would have to set the div to be 535px as it
> does not
> understand min-height
> 
> Regards,
> Divya
>  
> 
> -- 
> I blog at http://nimbupani.com/blog
> 
> 
> ______________________________________________________________________
> 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/
> 


      
______________________________________________________________________
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/

Reply via email to