<div class="public-head">
<div class="public-container">
<div class="public-logo"><a href=""></a></div>
<ul class="header-nav">
<li><a class="item">首页</a></li>
<li><a class="item">设备油脂</a></li>
<li><a class="item">切消夜</a></li>
<li><a class="item">冲压拉伸油</a></li>
<li><a class="item"></a></li>
<li><a class="item"></a></li>
<li><a class"item"></a></li>
<li><a class="item"></a></li>
</ul>
</div>
</div>
.public-head{
height:136px;
width:1920px;
background: #f5f6f8;
}
.public-head .public-logo{
float: left;
height: 54px;
width:254px;
background: url(../img/public-logo.png);
margin-top: 64px;
margin-bottom: 20px;
}
.public-head .header-nav{
list-style: none;
}
.public-head .header-nav .item{
margin-top: 94px;
margin-left: 52px;
font-size: 18px;
color: #333333;
}怎么让li标签里的一行显示?
Lemon156
yuanfengjituan
yuanfengjituan
victory_jack
相关分类