Article origin and Source URL: http://www.divcss5.com/css-texiao/texiao571.shtml
Very simple and practical, compatible with IE----do not turn sorry programmer
CSS3 rounded round edge style, supports major versions of browsers, including round edge fillets that support IE6-IE9 browsers.
This article is mainly to explain if the CSS 3 style sheet to achieve the fillet effect, it is worth noting that the IE6/7/8 three versions of IE browser does not support CSS3 resolution, only the less mainstream IE 9 support CSS 3 and HTML 5 standards. Let IE support CSS 3 parsing methods have many kinds, the following is a practical way to let IE support CSS 3 parsing method--ie use the VML Vector Markup language as a brush to draw a fillet.
Use CSS plugin files in CSS to make the Ie6/ie7/ie8 browser.
Specific CSS code:
- . Yuan {
- border:2px solid #C0C0C0;
- -moz-border-radius:10px;
- -webkit-border-radius:10px;
- border-radius:10px;
- position:relative;
- padding:5px;
- Background: #FFF;
- Z-index:2;
- width:330px;
- height:200px;
- Behavior:url (IECSS3.HTC)
- }
Use behavior in CSS to introduce "IECSS3.HTC" plug-in files. DIVCSS5 Note that to allow IE6-IE8 support, you need to put "Behavior:url (IECSS3.HTC)" inductive CSS code directly into the HTML file source code in order to take effect.
Let IE6-IE8 support CSS3 fillet Prerequisites:
1, Behavior:url (IECSS3.HTC) must be direct HTML in the inductive;
2, position:relative; Z-index:2; You must use both position and Z-index two CSS properties.
HTML application code:
- <div class="Yuan">
- DIVCSS5 Fillet Case <br>
- CSS3 version Fillet instance,<br>
- Supports low version IE6-IE9 browser
- </Div>
Fillet effect
Turn CSS3 round round edge support Ie6-ie8 Browser