Min-height in IE


/ Published in: CSS
Save to your folder(s)

Microsoft IE’s does not have the capability of handling min-height. In essence, IE interprets height as min-height, so since IE wont implement the auto height, this snippet will fix all this for us (using !important).


Copy this code and paste it in your HTML
  1. .box {
  2. min-height:500px;
  3. height:auto !important;
  4. height:500px;
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.