PayPal Button Height Workaround

Button as received from PayPal CCA Georgia Variable Amount

Source Code:

<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”><input name=”cmd” type=”hidden” value=”_s-xclick” />
<input name=”hosted_button_id” type=”hidden” value=”DBYKA2RGDXDXS” />
<input alt=”PayPal – The safer, easier way to pay online!” name=”submit” src=”https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif” type=”image” />
<img src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif” alt=”” width=”1″ height=”1″ border=”0″ /></form>

Resultant Button




Source Code Rick Changes highlighted:

<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”><input name=”cmd” type=”hidden” value=”_s-xclick” />
<input name=”hosted_button_id” type=”hidden” value=”DBYKA2RGDXDXS” />
<input alt=”PayPal – The safer, easier way to pay online!” name=”submit” src=”https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif” type=”image”

type=”image” style=” height: 47px; width:147″

/>

Also note that the following is a single pixel that is probably transparent that’s used to track that the form has been accessed 
<img src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif” alt=”” width=”1″ height=”1″ border=”0″ /></form>

Resultant Button