【发布时间】:2015-04-03 04:42:26
【问题描述】:
我正在尝试将文本和飞机的小图像插入到提交按钮。不幸的是,图像上的文字重叠,我不知道如何对齐它。如何将文本“移动”到按钮右侧? 有更好的方法吗?谢谢。
input[type="submit"] {
width: 230px;
height: 40px;
border: none;
background: url(../Images/Plane.png) #ff9900 no-repeat right;
color: #fff;
cursor: pointer;
}
这是 HTML
<input type="submit" value="SEND" id="submitForm">
【问题讨论】: