转载是种美德...
Calchas 发表于 2008, December 5, 9:59 AM
>> The following div displays correctly in Firefox but IE6 seems
>> not to respect the height of 5px. If I set this very large,
>> like 100px, IE displays it ok, but at a small height, like
>> 5px, it just stops shrinking.
If you set font-size and line-height for that div so that they fit within the 5px, IE will probably display it as desired.
Another option is overflow:hidden. Much Thanks, Els. overflow:hidden did the trick.