-
Member
PayPal button spacing
Hi all,
I'm trying to use multiple PayPal buttons in a vertical alignment but, there is extra space between them. I have searched the subject here and found several threads but, none seem to help. Laurence posted one quoting the Late Reverend however, I can't find where to put the code. My HTML code is:
<form target="paypal" 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="GL2XWEQ9F7AJ6">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Can any of you help me?
Thanks a lot for whatever you can do.
Herschal
-
Senior Member
On the first line, where you have this: method="post">
place the cursor just before the >
and type the following:
style="margin-bottom:0"
-
Re: PayPal button spacing
I use a table to accomplish this with Paypal buttons. Click in the cell and
then do a Control-T to enter the html code. In the html code, add:
style="margin-bottom:0"
to the form target info, right after method="post"
So your code should look like this:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr"
method="post" style="margin-bottom:0">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="GL2XWEQ9F7AJ6">
<input type="image"
src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_SM.gif"
border="0" name="submit" alt="PayPal - The safer, easier way to pay
online!">
<img alt="" border="0"
src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1"
height="1">
</form>
Hope this works for you.
Janice
"atlmagi" <atlmagi.5749x4@no-mx.forums.netobjects.com> wrote in message
news:atlmagi.5749x4@no-mx.forums.netobjects.com...
>
> Hi all,
>
> I'm trying to use multiple PayPal buttons in a vertical alignment but,
> there is extra space between them. I have searched the subject here and
> found several threads but, none seem to help. Laurence posted one
> quoting the Late Reverend however, I can't find where to put the code.
> My HTML code is:
>
> <form target="paypal" 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="GL2XWEQ9F7AJ6">
> <input type="image"
> src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_SM.gif"
> border="0" name="submit" alt="PayPal - The safer, easier way to pay
> online!">
> <img alt="" border="0"
> src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1"
> height="1">
> </form>
>
> Can any of you help me?
>
> Thanks a lot for whatever you can do.
>
> Herschal
>
>
>
-
Junior Member
I am trying to do the same thing as Hershal and atlmagi were trying to do.
I followed the instructions listed. I inserted the code into a table, then added: style="margin-bottom:0"
to the form target info, right after method="post"...but I am still getting the space.
I may have done something sloppily, but I can't identify it.
Here is my code:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" style="margin-bottom:0">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="UNKZK66H25LXE">
<input type="image" src="http://www.roger4pa.com/DonateNowButton_203x63.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
-
Senior Member
Have you made sure your cellspacing and cellpadding are both set to '0'? It's an easy thing to miss when placing a table.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules