Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   CSS WordPress PayPal Button Question (https://www.warriorforum.com/programming/859507-css-wordpress-paypal-button-question.html)

lerxtjr 22nd October 2013 09:24 AM

CSS WordPress PayPal Button Question
 
Using PayPal's add to cart buttons and shopping cart system.

I just copied and pasted the code it provided me and I get this big space between the product price line that's on the site and the paypal button as attached in pic.

http://hnyprojects.com/images/screen-addtocart.gif

I'm not seeing anything in the code that paypal supplies that would bring this button down four lines, do you? Is there something I can add to css that would bring it up so that it's under the "view more details" link?

<p><strong>Price:</strong> $89.95<br />
<a href="http://whatever...">View More Details &gt;&gt;</a></p>
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick"><br />
<input type="hidden" name="hosted_button_id" value="M9SJQADC4CERJ"><br />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><br />
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>

lerxtjr 22nd October 2013 09:51 AM

Re: CSS WordPress PayPal Button Question
 
haa, solved my own problem, sorry. Turns out paypal code defaults line breaks. I didn't notice it until I pasted it here.


All times are GMT -6. The time now is 08:56 AM.