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.