餘米試圖一類適用於以下提交按鈕 代碼:類不申請提交按鈕
<input type="submit" value="Submit" name="commit" class="confirm-button-submit ">
CSS:
.confirm-button-submit
{
width : 79px;
font : bold 12px sans-serif;;
color : #000;
background : url("../images/confirm-btn.png") 0 -33px no-repeat;
text-decoration : none;
margin-top :0px;
text-align:center;
border:0px;
cursor : pointer;
height:170px;
}
.confirm-button-submit a
{
width : 79px;
font : bold 12px sans-serif;;
color : #000;
background : url("../images/confirm-btn.png") 0 -33px no-repeat;
text-decoration : none;
margin-top :0px;
text-align:center;
border:0px;
cursor : pointer;
height:170px;
}
.confirm-button-submit a:hover
{
width : 79px;
font : bold 12px sans-serif;;
color : #000;
background : url("../images/confirm-btn.png") 0 0 no-repeat;
text-decoration : none;
margin-top :0px;
text-align:center;
border:0px;
cursor : pointer;
height:170px;
}
但它不是正確的工作該怎麼做
謝謝
一旦你設置了類名,什麼工作不正常? – 2010-06-09 16:41:51