css min-height ie8
.container
{
width: 1000px;
min-height:1200px;
height:开发者_JAVA百科auto !important;
height:1200px;
margin-left:15px;
}
If i use overflow:hidden; no change.. whats wrong?
If you are floating elements within a container, you might want to consider adding overflow:hidden
to the parent container. This will clear the floats within the container. It's quite hard to predict what the problem is without seeing a live version.
I would still recommend putting your html and css up on jsfiddle for everyone to see and have a play with.
Don't use clear div's. It's bad practice and can always be done using pure css (overflow:hidden).
Look at the double height property which is probably the problem.
You've got height
in there twice:
min-height: 1200px;
height: auto !important;
height: 1200px;
精彩评论