Cross Browser Minimum Height

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

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

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.