0

Is this the best way to do min height in all browsers? It seems kind of chunky

.container {
  min-height:800px; 
  height:auto !important;
}

/* Internet Explorer */

* html .container {
  height: 800px;
}
flag
thanks that is a great help! – Code Newb Sep 30 at 16:48

1 Answer

1

I've always done a slightly shorter version.
It should work in

  • Internet Explorer 8/7/6
  • Firefox 3/2
  • Safari 4/3
.container 
{  
     min-height:800px;   
     height:auto !important;
     height: 800px;
}
link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.