In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to use the if hack condition of Css". In the daily operation, I believe that many people have doubts about how to use the if hack condition of Css. The editor consulted all kinds of materials and sorted out a simple and easy-to-use operation method. I hope it will be helpful to answer the doubt of "how to use the if hack condition of Css". Next, please follow the editor to study!
1. Css if hack conditional syntax
Only all WIN systems come with IE recognizable
Only IE5.0 can recognize it.
Both IE5.0 packages and IE5.5 can be identified.
Only IE6 can recognize
Both IE6 and IE5.x below IE6 can be recognized.
Only IE7 can recognize
IE7 and IE6 and IE5.x below IE7 can be recognized.
Only IE8 can recognize
2. DIV+CSS instance tutorial
CSS instance 1:
Let IE6-IE8 display different content, and the DIV CSS code is as follows:
DIV IF conditional instance WWW.DIVCSS5.COM instance
You are using:
DIVCSS5 description: if your browser version is the number of IE will be displayed, for IE6-IE8 experiment CSS tutorial
Note: the above DIV+CSS experiments show different web pages for different IE.
DIV+CSS instance 2:
Let IE6-IE8 display different CSS style effects. The DIV CSS code is as follows:
CSS IF conditional hack instance www..com
The DIV CSS lab hints:
I am red under IE6, yellow under IE7, and blue under IE8
Note: the above experiments only test if HACK under IE6-IE8.
At this point, the study on "how to use the if hack conditions of Css" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.