Blackmore
03-31-2012, 08:49 AM
Hey guys I've been struggling with this all day, goggling everything, and just can't seem to work it out.
Below is a bit of code that displays a pay pal button for my site, but it aligns to the left. I want to center it if it is possible. I tired googling this and the responses where to put it in some DIV code, but what ever I tried didn't work.
Can any of you smart people help me...
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="9GH3EVPWDVTWU">
<input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
Below is a bit of code that displays a pay pal button for my site, but it aligns to the left. I want to center it if it is possible. I tired googling this and the responses where to put it in some DIV code, but what ever I tried didn't work.
Can any of you smart people help me...
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="9GH3EVPWDVTWU">
<input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>