HTML help

Discussion in 'Computers and Technology' started by Kaito, Mar 18, 2010.

  1. Kaito

    Kaito Level IV

    Joined:
    Jun 29, 2007
    Messages:
    2,692
    Likes Received:
    15
    what'd be the code for an image, with a paypal purchase button below?

    thanks.
     
  2. Junior

    Junior Administrator
    Staff Member

    Joined:
    Nov 8, 2009
    Messages:
    3,350
    Likes Received:
    169
    Location:
    I come from a land down under! (Maaaate!)
    So to clarify... using an image as the paypal purchase button?

    In which case, its easy. Just an image as a link.

    Use this:

    Code (Text):
    1. <a href="EBAYPURCHASELINK/" target="_blank">
    2. <img src="IMAGELINK.JPG" width="200" height="261" border="2" alt="whatthenewpagewillbecalled" />
    3. </a>
    Does make sense? If you give me the links, I can write the code for you.

    You can also adjust the size by editing the numbers after width and height.. and if you don't want a border on the picture, change it from 2 to 0.

    The code above if done correctly will open it in a new page... Thats why Its got the target="blank" bit in there..

    Let me know if you have trouble :)
     
  3. Fayne

    Fayne Level I

    Joined:
    Mar 2, 2010
    Messages:
    71
    Likes Received:
    6
    Code (Text):
    1.  
    2. <a href="LINK HERE"><img src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif"></a>
    3.  
    It would look like the below but WITH a link. :)

    [​IMG]