Cross browser CSS min-height support


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



Copy this code and paste it in your HTML
  1. #container{
  2. height:auto !important;/*all browsers except ie6 will respect the !important flag*/
  3. min-height:500px;
  4. height:500px;/*Should have the same value as the min height above*/
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.