Wednesday, April 6, 2011

CSS Underflow fix

Hi Folks,

I'm wondering if there are any underflow fixes for css? The initial problem was an overflow which is easily fixed but has now become an underflow problem.I have set a specific height value but it just seems to ignore this and instead resizes to suit the contents.

I appreciate any help and ideas.

Thanks!

From stackoverflow
  • min-height will work on some browsers, but not (surprise surprise) IE.

    Here's a hack for IE6 http://www.dustindiaz.com/min-height-fast-hack/

    There's a multitude of ways of fixing this, it depends which one you prefer.

    Tyson : Yeah, IE6 actually treats 'height' as 'min-height'. Annoying, to say the least.

0 comments:

Post a Comment