提交与背景图像的Html表单

时间:2012-12-21 06:33:16

标签: forms submit

使用背景图片提交的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>
}

1 个答案:

答案 0 :(得分: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;
}