/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
selector { height: 10em; /* min-height for IE. Must be declared above declaration for other browsers! */ } selector:empty { min-height: 10em; /* min-height for browsers other than IE */ height: auto !important; /* Override previously declared height for browsers other than IE */ } Â or even simpler: selector { min-height: 10em; /* min-height for browsers other than IE */ height: auto !important; /* Override declared height for browsers other than IE */ height: 10em; /* min-height for IE */ }
Comments
