malsup / corner

jQuery Corner Plugin (by Dave Methvin and Mike Alsup)

Home Page:http://jquery.malsup.com/corner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect height in IE with min-height hack

peterpoe opened this issue · comments

When rounding corner on a container using the min-height hack (http://www.dustindiaz.com/min-height-fast-hack/), the bottom corners are rendered at the 'auto' height, resulting in bad display.
Solved this changing line 144 from this:
var cssHeight = $.curCSS(this, 'height');
to this:
var cssHeight = $(this).outerHeight()+'px';

Thanks!