Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link in a Graphic

Status
Not open for further replies.

Montroze

Technical User
Apr 20, 2001
113
0
0
CA
Is it possible to have a link in a graphic? Right now I have a 200x198 section which will have a graphic on it but I would like a link above it if possible Within the 200x198 otherwise it will mess up my CCS
 
You can turn an entire graphic into a link like this:
Code:
<a href=&quot;...&quot;><img src=&quot;...&quot; border=&quot;0&quot;></a>
You can also turn PART of an image into a link by using image maps. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
its very easy, this is the code:
<a href=&quot;something.html&quot;><img src=&quot;picture.jpg&quot; width=300 height=300></a>

u can also add some text bfore that </a>. u can also use image maps, as the above tip says.

luv
Karthik.
 
If the area never changes in size and position is better to use a map definition if you want that the &quot;virtual focus&quot; is located only in the &quot;hot&quot; area.

If you are using Dreamweaver there is the possibility to designthe map directly selecting the image and then assigning a link.
Also many graphic programs like Photoimpact, Paintshop and others that have a mapping tool built in 'em.
If you do not have one of them you may go to DOWNLOADS.COM and get a free software to do it.

Sergio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top