Monday, May 14, 2007

ie6 ie7 CSS min-height problem

Different Internet explorer versions interpret CSS differently. One of the common problem is to set a minimum height for a tag or div section. Just setting up min-height property will not be enough because of the fact that ie6 does not have a support. Below you will find very simple workaround for the problem.

Solution:
min-height:600px;
height: auto;
height: 600px;

Now it works for both browsers.

No comments: