爲什麼我的標籤之間有空隙?菜單選項卡內的空白?
我爲每個標籤的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;
}