为什么我的标签之间有空隙?菜单选项卡内的空白?
我为每个标签的CSS是:
.tab1
{
color: white;
display: inline-block;
height: 110px;
width: 234px;
background-image: url("../images/first-tab.png");
background-repeat:no-repeat;
}
.tab2
{
color: white;
display: inline-block;
height: 110px;
width: 234px;
background-image: url("../images/second-tab.png");
background-repeat:no-repeat;
}
.tab3
{
color: white;
display: inline-block;
height: 110px;
width: 234px;
background-image: url("../images/last-tab.png");
background-repeat:no-repeat;
}