/ Published in: CSS

“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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* 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; } /**/
Comments
