-
Website
http://blog.georgegumpert.com/ -
Original page
http://blog.georgegumpert.com/2008/01/23/css-hack-cross-browser-min-height-hack/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Q-Zma
1 comment · 1 points
-
check scanner
1 comment · 1 points
-
club penguine cheats
3 comments · 1 points
-
Sunglasses
1 comment · -1 points
-
gisnap
2 comments · 3 points
-
-
Popular Threads
-ray
Btw, you should try this:
.myClass{
min-height:100px;
height:auto !important;
height: 100px;
}
Explanation: For browsers who understand min-height, let them use it. IE6 don't understand anything with the !important directive, so the second line will be only for better browsers.
And finally, for IE6 the height property works as min-height. So this will be applied by IE6, but not any other browsers, due to the !important directive.
Hi jbj, your solutions works better