Support » How-To and Troubleshooting » PayPal buttons inline?

PayPal buttons inline?

  • Greetings all. I’m trying to inline (same line) two PayPal buttons on a webpage and I can’t figure it out. Can anyone help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific help.

    Right, sorry about that. The link to the page I’m working on is: http://hookedadventures.com/tour-packages/payment-options/. As you can see, the PayPal buttons by default are left-aligned and on top of each other, but I would like to inline them. Any suggestions?



    Forum Moderator

    Try adding a class to each of those forms:

    <form class="paypal-form" method="post" action="https://www.paypal.com/cgi-bin/webscr">

    and to the text immediately after them:

    <p class="paypal-form-clear"><strong>Credit Card</strong></p>

    Then try adding:

    form.paypal-form {
    .paypal-form-clear {clear:left;}

    to style.css.


    Unfortunately, I stared at the code for about 2 hours and couldn’t figure it out. How should I enter it if the code is?

    <form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”><input name=”cmd” type=”hidden” value=”_s-xclick” /> <input name=”hosted_button_id” type=”hidden” value=”J9WM6CLFPC7PA” />
    <td><input name=”on0″ type=”hidden” value=”Packages” />Full-Day Packages</td>
    <td><select name=”os0″> <option value=”1 Person Full Day”>1 Person Full Day $180.00</option> <option value=”2 Person Full Day”>2 Person Full Day $360.00</option> <option value=”3 Person Full Day”>3 Person Full Day $500.00</option> <option value=”4 Person Full Day”>4 Person Full Day $700.00</option> <option value=”5 Person Full Day”>5 Person Full Day $810.00</option> </select></td>
    <input name=”currency_code” type=”hidden” value=”USD” /> <input alt=”PayPal – The safer, easier way to pay online!” name=”submit” src=”https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif” type=”image” /> <img src=”https://www.paypal.com/en_US/i/scr/pixel.gif” border=”0″ alt=”” width=”1″ height=”1″ />

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PayPal buttons inline?’ is closed to new replies.