如下图片
那个右边框在浏览器窗口大小改变拖动的时候总是多出来一小节 请问这个是什么原因导致的??
index_all div#index_head{
position: fixed;
width: 1350px;
height:100px;
background-color:#E0E0E0;
z-index: 9999;
}
/*
index_head img{
display: inline-block;
}
*/
index_head ul{
position: absolute;
top:10px;
display: inline-block;
list-style: none;
}
index_head li.name{
position: relative;
left: 30px;
padding-bottom: 10px;
}
index_head li.message{
padding-top: 10px;
border-top: 2px solid #000;
}
我猜是inline-block的原因,你试试把字号设为0,看看还有没有空白