0

I've got the following menu.

<ul>
<li><img src="images/item_grp_nav_img.jpg" alt="nav-image">Home</li>
<li>Menu Type</li>
<li>Menu Type</li>
<li>Menu Type</li>
</ul>

The Css goes as following.

#item-group-navigation{
height: 30px;
background-color:#949698;
min-width:760px;
}

#item-group-navigation ul{
height: 100%;
width: 30%;
padding: 0px 0px 0px 15px;
margin: 0px;
}

#item-group-navigation li{
float: left;
list-style: none;
display: block;
padding: 3px 6px 0px 5px;
color: white;
font-size: 18px;
font-family:MyriadProReg;
}

#item-group-navigation li:first-child:before{
content:none;
}

#item-group-navigation li:before{
display: block;
width: 20px;
height: 30px;
content: url('../images/list_arrow.jpg');
float: left;
}

#item-group-navigation img{
float: left;
}

The issue is displayed on the following image.

Issue

How Can I fix this issue using my CSS. Please help me. Thank you.

4

2 回答 2

0

我找到了问题!我已经定义了不应该的高度和宽度!感谢任何经历过它的人!

于 2013-04-05T06:54:22.413 回答
0

增加宽度#item-group-navigation ul

于 2013-04-05T06:54:52.470 回答