余米试图一类适用于以下提交按钮 代码:类不申请提交按钮
<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