CSS is compatible with all browsers with a div with a minimum height and adaptability. cssdiv
CSS is compatible with all browsers with the smallest and adaptive div:
Sometimes we want to give the div A minimum height. If the content does not reach this minimum height, the div will be displayed at the minimum height. If the content exceeds this minimum height, the adaptive effect will be realized, although the min-height attribute is currently available, not all browsers support this attribute, especially for earlier ie browsers. Below is a code example that is compatible with all browsers.
The Code is as follows:
<! DOCTYPE html>
The above code implements this requirement, which is relatively simple and can be applied directly.
Related reading:
1. For details about the min-height attribute, see the min-height attribute in CSS.
2 .! For more information about important attributes, see CSS! Important syntax rule 1.
The original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 11567.
For more information, see: http://www.softwhy.com/divcss/