Posted By

UTAlan on 03/06/09


Tagged

fix css ie height minimum


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jfherring
lister


Min Height for All Browsers


 / Published in: CSS
 

There is no need for an IE-specific tag in your CSS to set a minimum height. You can do it without having to hack!

(Just replace the 500px with the height you need and rest assured that it will work in all browsers!)

  1. div#container {
  2. min-height: 500px;
  3. height: auto !important;
  4. height: 500px;
  5. }

Report this snippet  

You need to login to post a comment.