Return to Snippet

Revision: 7109
at July 7, 2008 06:55 by Uzbekjon


Initial Code
/* for understanding browsers */
.container {
	width:20em;
	padding:0.5em;
	border:1px solid #000;
	min-height:8em;
	height:auto;
}
/* for Internet Explorer */
/*\*/
* html .container {
	height: 8em;
}
/**/

Initial URL


Initial Description
“min-height” attribute works well in Firefox but IE ignores it. IE’s height act as FF’s min-height. Note: in IE 7 problem was fixed.

Initial Title
Min-height attribute ignored in IE

Initial Tags
css, ie

Initial Language
CSS