Application Development

Software technique, Skills & Applications

IE6下min-height无效Hack方法 December 29, 2011

Filed under: css — meetme @ 8:02 pm

#page{

background:#F00;

min-height:500px;
height:auto !important;
height:500px;

overflow:visible;

}

就是这句overflow:visible使IE们能够当作height:auto来处理。问题解决。

from:http://hi.baidu.com/win_blue/blog/item/869ff9307ebf2ba25fdf0ec0.html

Advertisement
 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.