Browser compatibility issues - CSS Div minimum height compatibility issues in IE 6 and IE 7
When using CSS to define the height of a DIV, it can be displayed normally under the IE 7 browser. But in IE 6, height cannot be defined below 10px. This is somewhat similar to a table. The solution is as follows:
Method 1: Define the overflow attribute. For example, you want to define a line with a height of 2px.