0
我已經嘗試了很多東西,我無法弄清楚爲什麼精靈沒有出現。該按鈕有三種狀態:正常,懸停和活動。出現在按鈕上的精靈問題
#continue_btn {
float: right;
margin-right: 15px;
width: auto;
width: 229px;
height: 43px;
background-image:url(_img/continue_btn.png);
background-repeat: no-repeat;
float: none;
margin-left: -23px;
margin-bottom: 12px;
border-radius: 8px;
}
#continue_btn a{
background: url(_img/button_sprite.png) 0 0 no-repeat -13px -11px;
width: 229px;
height: 43px;
}
continue_btn a:hover {
background: url(_img/button_sprite.png) 0 0 no-repeat -14px -58px;
width: 229px;
height: 43px;
}
continue_btn a:active {
background: url(_img/button_sprite.png) 0 0 no-repeat -14px -106px;
width: 229px;
height: 43px;
}
You can see it here(點擊左上角的用戶輸入按鈕)。 This is the sprite。
太謝謝你了!最後一件事將是我如何擺脫我不相信來自我的CSS的邊界邊緣。我只是給它一個邊界半徑:8px就是這樣。我只需要邊緣清潔。再次感謝。 – JulieBrescia
沒關係。我看到它的邊框寬度! :) 謝謝! – JulieBrescia