Need to tweak some Paypal HTML - HELP!

Discussion in 'HTML & Website Design' started by Sixty6media, Nov 8, 2010.

  1. #1
    Hi guys.

    I have the code below embedded in my website but the imput box that is shown is to short. I'd like it about three times longer as a URL needs to be cut and paste into it.

    Any help would be great. Here is the code:

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="2VZ4GFSBRDW52">
    <table>
    <tr><td><input type="hidden" name="on0" value="-">-</td></tr><tr><td><input type="text" name="os0" maxlength="60"></td></tr>
    </table>
    <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_paynow_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
    <img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
    </form>
     
    Sixty6media, Nov 8, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can make it the same as the maximum length by adding size="60":
    
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="2VZ4GFSBRDW52">
    <table>
    <tr><td><input type="hidden" name="on0" value="-">-</td></tr><tr><td><input type="text" name="os0" maxlength="60" [COLOR="blue"]size="60"[/COLOR]></td></tr>
    </table>
    <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_paynow_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
    <img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
    </form> 
    
    Code (markup):
     
    Cash Nebula, Nov 8, 2010 IP