Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2005
    Location
    Toronto
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    attach link to an image

    Hi all,

    can someone please help with the following:
    I have an image button and how can I attach a link to that image that is when I click on that image it will link me to the design url and the url is without name. Thank you very much for your help.

    Ramy.

  • #2
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Ramy,

    If you want to make your image button a link also, you need to encapsulate the <img></img> tag inside an <a href="URL here!"></a> tag.

    Hope this answers your question!

    thisisme

  • #3
    New Coder
    Join Date
    May 2004
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That is how you do it, also, you might want to add
    Code:
    border="0"
    inside your image tag to make sure the link doesn't give you a border around your image.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    plz dont cross post if you post it in the wrong place request for a mod to move it, i already gave an answer this already http://www.codingforums.com/showthread.php?t=52353


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •