Skip to main content

Bug Tracker

Side navigation

#2611 closed bug (invalid)

Opened March 28, 2008 04:24PM UTC

Closed April 22, 2009 01:11AM UTC

incorrect height returned in IE 6

Reported by: scottgonzalez Owned by: brandon
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

See attached file.

Attachments (1)
  • height.html (0.6 KB) - added by scottgonzalez March 28, 2008 04:24PM UTC.
Change History (4)

Changed March 28, 2008 04:36PM UTC by scott.gonzal comment:1

owner: → brandon

Changed March 28, 2008 05:45PM UTC by scott.gonzal comment:2

This problem also occurs with this body:

<body>
<div id="foo"></div>
<div>content</div>
</body>

Changed May 16, 2008 06:55PM UTC by flesler comment:3

Ok tried this for a while, couldn't find a consistent response.

But I think divs are one of those elements that don't like to be empty like that.

I think that if you use <div> </div> you'll get less trouble.

Still.. I'm not giving a solution.. so this remains opened.

Changed April 22, 2009 01:11AM UTC by brandon comment:4

resolution: → invalid
status: newclosed

This is a CSS/rendering issue in IE. For example, if you make the body font-size smaller the resulting height of the empty div will also be smaller. If you zero out the height, font-size, and line-height for the div you'd get the correct results.