What is the solution that IE6 does not support min-height
In this issue, the editor will bring you about what is the solution that IE6 does not support min-height. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
Let's focus on the solution that IE6 does not support min-height, which mainly includes two solutions.
IE6 does not support min-height 's solution
Minimum height min-height is useful, but IE6 does not support it. How annoying. Is there any way?
* methods: we can use IE6 not to recognize! important to achieve:
HeightVapor autoimportance; height:500px; min-height:500px
These three sentences of code let IE6 also have a high degree of min-height effect, you can copy and save the following code into a web page file to see the effect.
HTML code
Incomplete * * Life * {margin:0; padding:0;} body {font-family:Arial, Helvetica, Verdana, sans-serif; font-size:12px; text-align:center; background-color:#D4D5CC;} # wrapper {heightwood autoimportance; height:500px; min-height:500px; width:760px; background-color:#e5e5e5; border:1px solid # fff; text-align:left; line-height:150%; padding:20px; margin:10px auto } The Furthest Distance In The World the furthest distance in the world Tagore Tagore The furthest distance in the world the furthest distance in the world Is not between life and death is not life and death But when I stand in front of you but I am standing in front of you Yet you don't know that I love you you do not know that I love you
[Ctrl+An all Select Tip: you can modify part of the code first, and then press run]
There is another method for ◆: if the IE6IE5IE7FF test is normal and can pass the W3C test, the method is as follows:
HTML code
# test {min-height:100px; background:#BBB; _ height:100px; overflow: visible;}
[Ctrl+An all Select Tip: you can modify part of the code first, and then press run]
Explain the meaning of the above paragraph CSS.
The sentence "min-height:100px;" can be displayed normally in ie7 and FF.
The sentence _ height:100px showed normal in the ie6,ie5 test. However, it cannot be verified by W3C: l
The sentence "overflow:visible;" is used to indicate that # test is automatically extended when the content exceeds 100px.
Note: you must make sure that everything except # test is overflow:visible. Otherwise, the excess will not be displayed.
The above is the solution that IE6 does not support min-height shared by Xiaobian. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.