Jump to content
  • 0

Список в строку. IE.


fir1st_
 Share

Question

Во всех браузерах меню отображается правильно.

В ie:

123jpg_6947676_3697342.jpg

Во всем остальном:

Bezimyanni_7534091_3697351.png

Почему? Как я только не извращался с блоками в меню, результата нет. Выложу весь код, думаю это лучше.

CSS: http://dl.dropbox.com/u/15840231/all.css

HTML: http://dl.dropbox.com/u/15840231/index.zip


.menu{
position: relative;
width: 990px;
height: 41px;
margin-left: -490px;
left: 50%;
border-top: solid 2px #ca8271;
background: #f1c0af; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjZjFjMGFmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2Q5YTQ5MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(-45deg, #f1c0af 0%, #d9a491 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f1c0af), color-stop(100%,#d9a491)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(-45deg, #f1c0af 0%,#d9a491 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(-45deg, #f1c0af 0%,#d9a491 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(-45deg, #f1c0af 0%,#d9a491 100%); /* IE10+ */
background: linear-gradient(-45deg, #f1c0af 0%,#d9a491 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1c0af', endColorstr='#d9a491',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
-webkit-border-bottom-right-radius: 20px;
-webkit-border-bottom-left-radius: 20px;
-moz-border-radius-bottomright: 20px;
-moz-border-radius-bottomleft: 20px;
border-bottom-right-radius: 20px;
border-bottom-left-radius: 20px;
-webkit-box-shadow: 0px 0px 3px rgba(50, 50, 50, 1);
-moz-box-shadow: 0px 0px 3px rgba(50, 50, 50, 1);
box-shadow: 0px 0px 3px rgba(50, 50, 50, 1);
-moz-opacity: 0.73;
opacity: 0.73;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=73);
}
ul .first{
text-indent: 15px;
}
.menu ul {
margin: 0 auto;
float: left;
list-style-type: none;
display: inline;
}
.menu ul li{
margin: 0;
float: left;
display: inline;
padding: 5px;
font-family: Trebuchet MS;
font-size: 24px;
}
.menu ul li a{
display: block;
text-decoration: none;
color: #fff;
padding: 7px;
}
.menu ul li a:hover{
text-decoration: none;
background-color: #b7483e;
border-bottom: solid 2px #ca8271;
}
.menu ul li a:active{
text-decoration: none;
background-color: #a62f24;
border-bottom: solid 2px #1a1826;
}


<div class="menu">
<ul>
<li class="first"><a href="">Сделать заказ</a></li>
<li><a href="">Доставка</a></li>
<li><a href="">Оплата</a></li>
<li><a href="">Интересное</a></li>
<li><a href="">Контакты</a></li>
</ul>
</div>

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy