In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
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.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.