Posted By

mediamilan on 08/13/10


Tagged

css html internet explorer


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

roli000
jplr


Min Height for Internet Explorer


 / Published in: CSS
 

URL: www.mediamilan.com

Internet Explorer 6.0 and 7.0 does not understand min-height css property. So we need to include a simple hack to get this done.

  1. /* CSS for other mordern browsers */
  2. .container {
  3. min-height:200px;
  4. }
  5.  
  6. /* for Internet Explorer */
  7. * html .container {
  8. height: 200px;
  9. }

Report this snippet  

You need to login to post a comment.