Unwanted Padding Top and Bottom of (PayPal) Image In Table
-
I’m creating a new site with subscribe buttons at https://christiangaysconnections.com/membership-join/
The first five use my image in combination with code from PayPal as follows:
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”>
<input type=”hidden” name=”cmd” value=”_s-xclick”>
<input type=”hidden” name=”hosted_button_id” value=”[#]”>
<input type=”image” src=”[link to my image]” width=”375″ height=”30″ 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>There is a huge space above and below the images which I can’t seem to get rid of.
The bottom image does not link to PayPal. It is just from my website. Bottom spacing is good. Top spacing is a little too big, but essentially, to me, it is saying that the problem lies somewhere with the PayPal coding if it’s looks OK with just the direct image.
Also, I had an issue with clicking to insert image in the table and nothing happens. I had to add the code manually. I had this same problem about five years ago on another site but I can’t find the solution to how it was fixed.
Please note that I have deactivated all plugins and tried with twenty-fifteen theme and the problem exists with all scenarios. I also added the width and height in the above code in the hopes that it might help but it didn’t.
How do I fix this spacing issue please.
Thanks!
- The topic ‘Unwanted Padding Top and Bottom of (PayPal) Image In Table’ is closed to new replies.