【发布时间】:2015-06-05 05:19:14
【问题描述】:
我根本不明白哪里出了问题。谁能帮我一点忙?我正在尝试自定义按钮,但它不会选择类。
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="GAEUPE4GXM68E">
<input type="submit" value="Instant Buy" name="submit" title="PayPal – The safer, easier way to pay online." class="paypal-btn">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
.paypal_btn {
display: inline-block;
font-family: inherit;
font-size: 14px;
font-weight: bold;
color: #fff;
text-align: center;
padding: 10px 14px;
margin: 0;background: #ff6600;
border: 0;
cursor: pointer;
outline: none;
}
【问题讨论】: