FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

CSS - IE6 problem

 


sonam
I am using min-width and min-height for one div. It is working perfectly in IE7 and FF but not in IE6. Is there some way to define height for all old IE browser? I am using:

Code:
<!--[if IE6]>
<style type="text/css">
.something {
height : 300px;
}
</style>
<![endif]-->


but this is not give me good result. Maybe I type something wrong in if IE6 definition??? Can someone who know conditional comments to help me.

Sonam
James007
Try:

Code:
.something {
min-height : 300px;
height: auto !important;
height: 300px;
}


Source: http://www.dustindiaz.com/min-height-fast-hack/
sonam
Wow, this is the best and simplest solution what I see. Thanks 007.
Very Happy Very Happy Very Happy

Sonam
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.