IE div shorter than 20 px?

Posted by aeq on Stack Overflow See other posts from Stack Overflow or by aeq
Published on 2010-06-15T16:15:05Z Indexed on 2010/06/15 16:22 UTC
Read the original article Hit count: 115

Filed under:
|
|

I can't seem to get my <div> height in IE (7) to be shorter than 20px:

<div style="background: green; height: 1px;">

</div>

Using the above code (both with and without html and body tags) the height of the div cannot seem to drop below a certain value (I think it is 20px). Any ideas?

© Stack Overflow or respective owner

Related posts about css

Related posts about internet-explorer