Weblog

Using css styling min-height with IE6, IE7 and Firefox.

For my current customer I had a problem using the css styling property min-height. Everything works fine with Firefox, but IE6 doesn’t understand the property. The result in IE6 will be a webpage with the size of the content.

Paul OB wrote a great solution for this problem. Making use of the following piece of css will solve your problem:


1. #outer{
2. height:500px;
3. min-height:500px;
4. background:red;
5. }
6. html>body #outer{height:auto}

Read the whole article on: http://www.search-this.com/2007/02/05/css-min-height-explained

Share and Enjoy:
  • del.icio.us
  • Google Bookmarks
  • DZone
  • LinkedIn
  • SphereIt
  • StumbleUpon
  • Technorati

One Response to “Using css styling min-height with IE6, IE7 and Firefox.”

  1. denim_chap Says:

    just height:500px; is enough.

Leave a Reply

Technology