Thousands of readers can be wrong

A Dreamer, a Photographer, a Musician, a Webdesigner... sometimes a Java coder too: I am Niccolò Favari and this blog is about New Media, Creativity, Business, Communication, Entrepreneurship and lots more. Boring stuff indeed, because I am a very boring dude.

Well, what's the point? I have no point. I just keep writing. And it feels good.

RSS Feeds Icon

LinkedIn Icon

Facebook Icon

min-height for Internet Explorer

There is a fast and clean CSS hack to make Internet Explorer support the CSS property “min-height”

div.box {
height: auto !important; /* for modern browsers */
height: 200px; /* for IE5.x and IE6 */
min-height: 200px; /* for modern browsers */
}

This ultra tiny and fast hack works on Internet Explorer 5, 5.5, 6, 7 and on the latest versions of Opera, Safari and Firefox.

This hack is called “min-height fast hack“.
Also thanks to the italian webdesign site HTML.it for the nice article.