Добрый день друзья, может кто нибудь знает как решить проблему не понимания некоторых свойств CSS IE 10.. Вот наглядная как выглядит хэдер в хроме и мозилле и как выглядит в Ие10, в эксплоурере полностью блок корзины, заползает под блок поиска, так как имеет z index меньше, но ведь в коде указаны позиции, почему он по ним не выравнивается?
Вот код -
#header #cart {
position: absolute;
top: 28px;
right: 0px;
z-index: 9;
}
#header #cart .heading {
float: right;
margin-right: 0px;
padding-left: 50px;
padding-right: 10px;
padding-top: 8px;
padding-bottom: 8px;
background: #FCFCFC url('../image/shopping-cart.png') 5% 20% no-repeat;
position: relative;
z-index: 1;
}
#header #cart .heading h4 {
font-size: 10px;
font-weight: bold;
color: #525252;
text-transform: uppercase;
margin-top: 0px;
margin-bottom: 3px;
}
#header #cart .heading a {
font-family: Georgia, serif;
color: #626262;
font-size: 12px;
font-style: italic;
text-decoration: none;
}
#header #cart .heading a span {
padding-right: 0px;
}
#header #cart .content {
clear: both;
display: none;
position: relative;
top: 20px;
padding: 8px;
min-width: 285px;
min-height: 150px;
background: #fdfdfd;
color: #626262;
-webkit-box-shadow:
0 0 0 1px #d4d4d4,
0 0 1px 2px #e2e2e2,
0 0 0 8px #ededed;
-moz-box-shadow:
0 0 0 1px #d4d4d4,
0 0 1px 2px #e2e2e2,
0 0 0 8px #ededed;
box-shadow:
0 0 0 1px #d4d4d4,
0 0 1px 2px #e2e2e2,
0 0 0 8px #ededed;
-webkit-border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;
border-radius: 2px 2px 2px 2px;
}
#header #cart.active .content {
display: block;
#header #search {
position: absolute;
top: 23px;
right: 175px;
width: 298px;
z-index: 15;
background: url('../image/sf-bg.gif');
border: 1px solid #E2E2E2;
padding: 10px 14px 10px 10px;
}
#header .button-search {
position: absolute;
right: 3px;
width: 69px;
height: 27px;
margin-top: 3px;
margin-bottom: 4px;
margin-right: 10px;
cursor: pointer;
background: #E2E2E2 url('../image/button-search.png') 90% center no-repeat;
border: 1px solid #D2D2D2;
-webkit-border-radius: 3px 3px 3px 3px;
-moz-border-radius: 3px 3px 3px 3px;
-khtml-border-radius: 3px 3px 3px 3px;
border-radius: 3px 3px 3px 3px;
-webkit-box-shadow: inset 0 2px 0 -1px #EDEDED;
-moz-box-shadow: inset 0 2px 0 -1px #EDEDED;
box-shadow: inset 0 2px 0 -1px #EDEDED;
}
#header .bst {
color: #626262;
font-size: 10px;
font-weight: bold;
line-height: 27px;
padding-left: 6px;
-webkit-text-shadow: 0px -1px 0 #E6E6E6;
-moz-text-shadow: 0px -1px 0 #E6E6E6;
text-shadow: 0px -1px 0 #E6E6E6;
}
#header #search input {
background: #FFF;
padding: 1px 33px 1px 5px;
width: 262px;
height: 31px;
font-size: 14px;
-webkit-border-radius: 3px 3px 3px 3px;
-moz-border-radius: 3px 3px 3px 3px;
-khtml-border-radius: 3px 3px 3px 3px;
border-radius: 3px 3px 3px 3px;
-webkit-box-shadow: inset 0px 2px 2px -2px #DEDEDE;
-moz-box-shadow: inset 0px 2px 2px -2px #DEDEDE;
box-shadow: inset 0px 4px 4px -4px #DEDEDE;
}
#header #search input:hover, #header #search input:focus {
border-top: 1px solid #c2c2c2;
border-left: 1px solid #c2c2c2;
border-bottom: 1px solid #e1e1e1;
border-right: 1px solid #e1e1e1;
}