把宽度扩大了一些,怎么让ul被填满
.main {
width: 598px;
height: 298px;
border: 1px solid #eee;
overflow: hidden;
margin: 10px auto;
}
.main-til {
height: 47px;
position: relative;
}
.main-til ul {
position: absolute;
width: 601px;
left: -1px;
}
.main-til li {
float: left;
width: 117px;
height: 46px;
line-height: 46px;
text-align: center;
overflow: hidden;
background: #F7f7F7;
border-bottom: 1px solid #eee;
padding:0 1px;
}
.main-til li a:link, a:visited {
color: #000;
text-decoration: none;
}
.main-til li a:hover {
color: #F90;
}
.select {
background: #FFFFFF;
border-bottom-color: #FFFFFF;
border-left: 1px solid #eeeeee;
border-right: 1px solid #eeeeee;
padding:0;
font-weight: bold;
}
把li的宽度设为118px就会产生溢出,谁能告诉我怎么设置padding值