IE6 does not support the solution of rounded corner effect, and ie6 does not support rounded corner

Source: Internet
Author: User

IE6 does not support the solution of rounded corner effect, and ie6 does not support rounded corner

      
IE6 (7/8) does not support the border-radius attribute, so the rounded corner effect is not displayed, can be solved by referencing the ie-css3.htc.Ie-css3.htc(Click to view it directly) Place the file in the root directory of the page and add it to the css file (or the <style> label ).
       body       {           behavior:url("...ie-css3.htc");       }      
Put it in another directory. Pay attention to the path pair. Other questions can refer to the official website: http://fetchak.com/ie-css3/

The problem that css rounded corners are not compatible with ie6

Try it ~
<Style>
# Menu {
Width: pixel PX;
Font-size: 14px;
Margin: 100px auto;
Padding: 0;
Overflow: hidden;
}
# Menu {
Text-decoration: none;
Display: block;
Background: #999;
Color: # FFF;
Margin-top: 15px;
}
# Menu a: hover {
Margin: 0 0 0 0;
Height: 30px;
Padding-bottom: 8px;
Background: # 0CC;
Color: # FF0;
Font-size: 18px;
}
# Menu p {
Text-align: center;
Height: 20px;
Margin: 0 1px 0 0;
}
# Menu ul {
List-style-type: none;
Margin: 0px;
Padding: 0px;
Width: pixel PX;
}
# Menu ul li {
Width: 80px;
Float: left;
Padding: 0;
Margin: 0;
}
# Menu ul li div {
Height: 1px;
}
# Menu ul li. row1 {
Overflow: hidden;
Border-width: 0 5px;
Border-style: solid;
Border-color: # fff;
}
# Menu ul li. row2 {
Overflow: hidden;
Border-width: 0 3px;
Border-style: solid;
Border-color: # fff;
}
# Menu ul li. row3 {
Overflow: hidden;
Border-width: 0 2px;
Border-style: solid;
Border-color: # fff;
}
# Menu ul li. row4 {
Overflow: hidden;
Border-width: 0 1px;
Border-style: solid;
Border-color: # fff;
}
/* Clear floating */
. Clear {
Dipslay: block! Important;
Float: none! Important;
Clear: both;
Overflow: hidden;
Width: auto! Important;
Height: 0;
Margin: 0 auto! Important;
Padding: 0! Important;
Font-size: 0;
Line-height: 0;
}
</Style>
</Head> <body>
<Div id = "menu">
<Ul>
<Li>
<Div class = "clear"> </div>
<A href = "#">
<Div class = "row1"> </div>
<Div class = "row2"> </div & g ...... remaining full text>

What if ie6 is incompatible with rounded corners?

Ie6 has long been insecure and is upgraded to IE8.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.