The width and height settings of the DIV grid on Firefox are:
width:1003Px height:5px;
Then on Ie6, the height is 20px, which can only be increased to the larger one, not subtracted. (height: 30px; OK height: 5px; but not 20px, you can’t reduce it by one pixel)
Please Post more code.
ie6 div has a default height,
width:1003px; height:5px; overflow:hidden; try
Generally speaking, when encountering this situation, Just add overflow:hidden; and that's it. .
Due to line-height, the height under IE6 cannot be reduced
You can set line-height to a smaller value
or overflow:hidden can also be used
This is a BUG of IE6. IE6 will default to a font height of 12px. If the height is less than 12PX, IE6 will default to a height of 12 pixels instead of smaller pixels. If it is larger than the pixels of the font, it will have no effect
This is a bug in IE6, just add overflow:hidden; or font-size:0;.
There are too many bugs in ie6, and Microsoft is too weak. I said I forced to upgrade to IE6 but I still haven’t seen the effect