On Sat, 30 Jun 2007, Ingo Chao wrote:

> Matt Dawson wrote:
>> ...
>> I have an unordered list. Each list item is a single word long and has a
>> height of 12px applied to it. However, in IE6, the base line-height I've
>> applied earlier in the document (which is part of a collection of general
>> browser reset rules I use for all my projects) is calculating to a value
>> larger than 12px. In all browsers except IE6 and lower, changing the height
>> does what I expect. That is, if I make the height of the list element 2px,
>> all but 2px of the list element's content disappears. In IE6, because the
>> line-height is calculating to a larger value, changing the height has no
>> effect.
>>
>> Is this part of an already documented bug? ...
>
> It is called the expanding box bug
> http://www.positioniseverything.net/explorer/expandingboxbug.html

I don't know what the OP's problem really is, since no URL was given, and 
the description made me confused - why would one set list element height 
two pixels? If the author wants to make the list items 12px high, it would 
seem to be appropriate to set their line-height to that value (though I 
doubt whether it's a good idea to want this).

Anyway, the document you mention is rather old and it describes some of 
the many consequences of IE's wrong treatment of overflow. In particular, the 
demonstrations do not demonstrate the problem on IE 7, since they have 
doctypes that trigger "Standards Mode" and in that mode, IE 7 handles 
overflow properly.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to