Jump to content
  • 0

Горизонтальное меню в firefox выглядит криво


stuffy
 Share

Question

Есть вот такое меню

ul.down {
width: 80%;
margin-right: 35%;
margin-left: 25%;
font-size: 21px; /* размер шрифта */
}
ul.down li {
background: none!important;
display: inline-block;
margin-right: 15px;
margin-top: 8px;
moz-margin-top: 0;
list-style-type: none;
}
ul.down a {
background: none;
color:#fff;
height: 36px; /* высота кнопки*/
overflow: hidden; /* запрещаем обтекание */
font: 13pt/20pt Arial Black;
text-decoration:none; /* убираем подчеркивание ссылки */
}
ul.down li.active a, ul.down li a:hover {
color: white;
background: none;
border-left: 5px #96C93D solid;
border-right: 5px #96C93D solid;
border-top: 5px #96C93D solid;
border-bottom: 1px #96C93D solid;
border-radius: 15px 15px 1px 1px;
padding-left: 5px;
padding-right: 5px;

В Опере и Хроме оно выглядит вот так 1342519765-clip-2kb.png. То есть правильно, как я задумывал. А вот в ФФ вот так: 1342519874-clip-3kb.png

и это не правильно:)

Подскажите пожалуйста, как сделать, чтобы меню во всех браузерах выглядело как на первом скрине?

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