-1

带有背景图片的 HTML 表单提交

<input type="submit" name="fsubmit" value="Submit" class="Submit" /><br>

.Submit{
background:url(images/Submit-btn.png) left top no-repeat;<br>
border: medium none;<br>
clear: both;<br>
color: #FFFFFF;<br>
cursor: pointer;<br>
float: right;<br>
height: 65px;<br>
padding-bottom: 37px;<br>
width: 83px;<br>
}
4

1 回答 1

0

尝试这个:

.icon_button{
    background:#FFFFFF url(http://www.limitedlink.com/images/png/ico.png) no-repeat 4px 4px;
    padding:4px 4px 4px 22px;
    height:auto;
}
于 2012-12-21T06:39:50.877 回答