.span {
list-style-type: none;
display: inline-block;
zoom: 1;
vertical-align: top;
width: 80px;
height: 30px;
line-height: 30px;
text-align: center;
margin-left: 1px;
margin-bottom: 1px;
background: #2984D4;
color: #FFFFFF;
}
效果(即使span中的值为空,也不会出任何问题)
[img]http://dl.iteye.com/upload/attachment/612833/179a4ec7-13e5-377a-bcd4-151f9a9d9e11.jpg[/img]