This area is slightly problematic, because min-height is not yet
supported by IE7 (though we're promised it for the proper release). If
we assume it will be included, the neatest solution that works in all
browsers is:
#element { min-height:100px }
* html #element { height:100px }
Some people are against CSS hacks, but this is the only solution I
know of that is valid CSS and unlikely to have any adverse effects in
the future. [AFAIK (I can't test it here), the /*\*/ hack Stu uses is
not necessary, and in fact will make it break in IE5/mac.]
If by some madness IE7 doesn't support min-height this will at least
not harm matters, although an additional hack would probably be
needed. Let's hope not.
Chris
On 2/23/06, jeremy <[EMAIL PROTECTED]> wrote:
> hey there...
> I was able to get the min height property to work in IE, but it requires
> using a hack.
> a quick google search on min-height will give you MANY different hacks
> available. I eneded up going with one from Stew
> http://www.cssplay.co.uk/boxes/minheight.html
>
> the only problem with it is that it exploits a bug in IE. Most of the
> hacks for min-height do.
> simple amount off code, not complicated, but not the cleanest.
> -jeremy
>
>
> >> I am having trouble getting min-height working correctly in IE. Someone
> >> suggested that I use height instead, because it acts as min-height does
> >> when interpreted by IE. However the text just overflowed when it hit the
> >> bottom of the page. My site is: http://swilly.tk/~swilly/secondpres/
> >>
> >
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
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/