Jump to content
  • 0

проблема с горизонтальным меню в IE7


alex196
 Share

Question

Подскажите, что я делаю не так

есть горизонтальное меню, во всех браузерах, кроме IE7 нормально отображается:

menu1.jpg

В IE7 выглядит так:

menu2.jpg

код:

.top-menu{
position: relative;
background-color: #b3b3b3;
background: url('/img/top-menu-fon.gif') repeat-x;
height: 41px;
width: 959px;
margin-left: 10px;
overflow:hidden;
}

.top-menu a:link, .top-menu a:visited {
color: #000;
font-size: 13px;
font-weight: bold;
text-decoration: none;
padding-top: 12px;
padding-bottom: 13px;
padding-left: 60px;
padding-right: 60px;

text-shadow: 1px 1px 1px white;
}

.top-menu a:hover, .top-menu a:active {
background: url('/img/top-menu-fon-hover.gif') 0 0 repeat-x;
color: #fff;
font-weight: bold;
font-size: 13px;
text-decoration: none;
width: 200px;
padding-top: 12px;
padding-bottom: 13px;
padding-left: 60px;
padding-right: 60px;
text-shadow: 1px 1px 1px black;
}

.top-menu ul {
list-style: none;
margin:0;
padding:0;
display: inline;
}

.top-menu li:first-child {
border-left: 0px;
}

.top-menu li {
float:left;
border-left: 0.0909em solid #656565;
font-weight:bold;
height: 41px;
padding: 0px;
text-align: center;
padding-top: 12px;
}

<div class="top-menu"> 
<ul>
<li><a href="/">Пункт 1</a></li>
<li><a href="/">Пункт 2</a></li>
<li><a href="/">Пункт 3</a></li>
<li><a href="/">Пункт 4</a></li>
</ul>
</div>

как я понимаю, не срабатывает padding-bottom

Link to comment
Share on other sites

4 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