IE font size decrease does not cause select box height to decrease

Posted by leaf dev on Stack Overflow See other posts from Stack Overflow or by leaf dev
Published on 2010-03-17T14:53:11Z Indexed on 2010/03/17 15:01 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

I have a font resize function on my page which increases the font size via javascript for the entire page.

This works fine in most browsers except IE. When decreasing the font size after increasing it, the select boxes new height does not decrease, even though the font size is decreasing on it. Instead the smaller font appears to be padded with white space.

Any ideas as to what IE is doing here, and a work around?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about font-size