20070108

min-height Hack for Internet Explorer 6

Author:  WinkCategories:  XHTML/CSSNo Comments »
Tags:  , , ,

min-height属性可以得到FireFox及Opera的良好支持,但是IE还无法正确识别。当然,这是指IE6/Win。

/* for understanding browsers */
.wrapper {
width: 10em;
padding: 0.5em;
border: 1px solid #000;
min-height: 3em;
height: auto;
}
/* for Internet Explorer */
/*\*/
* html .wrapper {
height: 3em;
}
/**/

You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Comments are closed.

Back to Page Top