I wrote, some time ago, about how to solve this problem with min or max dimensions in more retarder browsers.
The solution proposed was to use conditional javascript expressions inside the CSS file. Not very elegant, and quite limited.
Meanwhile I found a much simpler, more elegant and better validating solution. Let’s say we want to get a min-height of 400px. How do we go about it? Easy enough, we use 3 CSS properties instead of just one, like so::
min-height: 400px; height: 400px; height: auto !important;
And, miracle! It works! In every browser that I always test against: IE6, IE7, FF, Opera, Safari. Enjoy…

0 Responses to “min-height, min-width in all browsers”
Leave a Reply