[CSS] IE5 and IE6 min-height fix.

C++, C#, Java, PHP, ect...
Post Reply
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

[CSS] IE5 and IE6 min-height fix.

Post by Chris »

After testing and discovering IE5 and IE6 don't support min-height I came up with this little fix, thought I'd post it to save anyone else the bother of having to reinvent it:

Code: Select all

min-height: 500px;
height: auto !important;
height: 500px;
Actually why am I making compatibility for IE6.. I want less people to use it.. Awell :P
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: [CSS] IE5 and IE6 min-height fix.

Post by Jackolantern »

Nooo! Try to make things break on IE5 and 6 to make them move on!

Really, thanks for this :)
The indelible lord of tl;dr
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: [CSS] IE5 and IE6 min-height fix.

Post by hallsofvallhalla »

yes, thanks
Post Reply

Return to “Coding”