我想问一下是否可以修复。我已经用paypal按钮插入付款,但它浮动到左侧。我想在中间做,有可能,我可以使用内联css但我不能。
我试过这样:
<input type="image" src="https://mywebsite.com/img/cms/pay-try.png" style="margin-left:15px;" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
&#13;
但根本没有结果,它没有移动
祝你好运 迪尔肖德
答案 0 :(得分:0)
尝试将其添加为表单并使用text-align: center
之类的
<form style="text-align:center" action="#" mehod="post">
<input type="image" src="https://mywebsite.com/img/cms/pay-try.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</form>
答案 1 :(得分:0)
<div style="text-align:center;">
<input type="image" src="https://mywebsite.com/img/cms/pay-try.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</div>
&#13;