Results 1 to 5 of 5

Thread: PayPal button spacing

  1. #1

    Default 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

  2. #2
    Senior Member LBA's Avatar
    Join Date
    Jan 2010
    Location
    California
    Posts
    543

    Default

    On the first line, where you have this: method="post">
    place the cursor just before the >
    and type the following:
    style="margin-bottom:0"

  3. #3
    JWebStuff
    Guest

    Default 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
    >
    >
    >




  4. #4
    Junior Member
    Join Date
    Jan 2014
    Posts
    1

    Default

    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>

  5. #5
    Senior Member franko's Avatar
    Join Date
    Apr 2010
    Location
    Tasmania Australia
    Posts
    2,636

    Default

    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
  •