How can I have a div of static 60px height in Internet Explorer?
<div style="height: 60px; overflow: hidden;">Hello, World</div>
Some versions of IE don't follow max-height, unfortunately, and that's where overflow: hidden
comes in handy. Note that the div will ALWAYS have 60px height no matter what's inside it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With