CSS max-height not working

The problem is your browser. Maybe you could wrap this div in another div that has the fixed height of 25px. Of course this wouldn’t be exactly the same as max-height.

An article about a solution.

Edit: According to Microsoft it should work in IE7+.

Have you set an appropriate doctype? If not IE7 uses an old layout engine. You should use HTML 4 or XHTML.

Leave a Comment