View Full Version : attach link to an image

02-14-2005, 11:26 AM
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.


02-14-2005, 12:51 PM
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!


Blind Zero
02-15-2005, 01:58 AM
That is how you do it, also, you might want to add
border="0" inside your image tag to make sure the link doesn't give you a border around your image.

02-15-2005, 02:53 AM
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