Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What small script HTC file patch makes IE6, 7 and 8 support CSS3

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

What small script HTC file patch makes IE6, 7 and 8 support CSS3? for this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.

Let IE6, 7 and 8 support CSS3

IE6,7 does not support the properties of CSS3, and IE8 does not support CSS3 very well. But there is a small script that can do this, it can make IE support CSS3, including: border-radius (rounded), box-shadow (shadow), text-shadow, etc.

If you need a box content that supports CSS3, you need to add a line of code:

Behavior: url (ie-css3.htc)

The code is as follows:

.box {- moz-border-radius: 15px; / * Firefox * /-webkit-border-radius: 15px; / * Safari and Chrome * / border-radius: 15px; / * Opera 10.5mm, future browsers, and now also Internet Explorer 6 + using IE-CSS3 * /-moz-box-shadow: 10px 10px 20px # 000; / * Firefox * /-webkit-box-shadow: 10px 10px 20px # 000; / * Safari and Chrome * / box-shadow: 10px 10px 20px # 000 / * Opera 10.5 box' class, future browsers and IE6+ using IE-CSS3 * / behavior: url (ie-css3.htc); / * This lets IE know to call the script on all elements which get the 'box' class * /}

Download address of ie-css3.htc:

Http://ishare.iask.sina.com.cn/f/35036423.html

This is the answer to the question about what small script HTC file patch makes IE6, 7 and 8 support CSS3. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report