Jump to content
  • 0

В Ie Список Сползает


The1stPresident
 Share

Question

Ух уже не знаю что и сделать.

Приведенный пример для ИЕ, использовать нужно именно список, ширина на 5 пунктов 865 пкс.

<div id="port_menu">
<ul>
<li><a href="#" title="">Логотипы</a>
</li>
<li><a href="#" title="">Брэндбуки</a>
</li>
<li><a href="#" title="">Фирменный стиль</a>
</li>
<li><a href="#" title="">POS материалы</a>
</li>
<li><a href="#" title="">Прочий дизайн</a>
</li>
<ul>
</div>


#port_menu{
position:relative;
top:0px;
width:865px;
height:17px;
background:#FFffFF;
margin-left:0px;
}
#port_menu ul{
list-style:none;
width:865px;
padding:0px;
margin:0px;
height:17px;
}
#port_menu li{
display:block;
float:left;
width:20%;}
#port_menu li a{
display:block;
float:left;
white-space:nowrap;
text-align:center;
width:100%;
height:17px;
font-size:15px;
font-weight:normal;
color: #000000;
background:#FFffFF;}

#port_menu li a:hover{
display:block;
float:left;
text-align:center;
width:100%;
height:17px;
font-size:15px;
font-weight:normal;
text-decoration:none;
color: #000000;
background:#f0af13;}

И последний пункт зараза переносится на вторую строку... я расстроен, прошу помощи, может просто нужен свежий взгляд.

Помогите, пожалуйста!

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