SpinOneSolutions | I waste my time so that you don’t have to…

May/09

13

CSS Minimum Height in Firefox & Internet Explorer

The Problem:

You need to give an element a minimum height and you need to work in both FireFox (FF) and Internet Explorer (IE).

The Solution:

In your default style sheet use the declaration below. This will be picked up by Firefox.

min-height:500px;

In your conditionally included style sheet for IE set this declaration.

height:500px;
overflow:visible;

That’s it!

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Kirtsy
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati

RSS Feed

1 Comment for CSS Minimum Height in Firefox & Internet Explorer

Kelly Brown | June 12, 2009 at 10:49 am

Hi, gr8 post thanks for posting. Information is useful!

Leave a comment!

«

»

Find it!

Theme Design by devolux.org