Log In · Register

 
Image mapping on div?
kimmytree
post Aug 26 2008, 12:42 AM
Post #1


Kimberly
******

Group: Member
Posts: 1,961
Joined: Apr 2005
Member No: 121,599



I'm having a really hard time figuring out how to image map my layout...

http://profile.myspace.com/index.cfm?fusea...96-b0ab77486e9f

I found a code, but it wont let me position the links over my main layout image. Can anyone help generate a code for me? Thank you. _smile.gif
 
 
Start new topic
Replies
only-tuesdays
post Aug 26 2008, 05:01 PM
Post #2


Lets Get Dead
*****

Group: Member
Posts: 381
Joined: Apr 2008
Member No: 641,562



This is how I always do image mapping.

CODE
<img src="IMGURL.JPG" width="973" height="530" border="0" alt="" usemap="#MAPNAME" />
<map name="map">
<area shape="rect" alt="" coords="222,9,385,43" href="URL HERE" />
<area shape="rect" alt="" coords="406,8,589,39" href="URL HERE/>
<area shape="rect" alt="" coords="600,13,716,40" href="URL HERE" />
<area shape="rect" alt="" coords="734,12,890,47" href="URL HERE" />
</map>


To get the coord. I just pull the image into paint or something similar and hover over two different corners to get the coord. for those points. Very simple.
 
Lj-Phresh
post Aug 26 2008, 06:54 PM
Post #3


Senior Member
****

Group: Member
Posts: 170
Joined: Aug 2008
Member No: 675,679



QUOTE(only-tuesdays @ Aug 26 2008, 05:01 PM) *
This is how I always do image mapping.

CODE
<img src="IMGURL.JPG" width="973" height="530" border="0" alt="" usemap="#MAPNAME" />
<map name="map">
<area shape="rect" alt="" coords="222,9,385,43" href="URL HERE" />
<area shape="rect" alt="" coords="406,8,589,39" href="URL HERE/>
<area shape="rect" alt="" coords="600,13,716,40" href="URL HERE" />
<area shape="rect" alt="" coords="734,12,890,47" href="URL HERE" />
</map>


To get the coord. I just pull the image into paint or something similar and hover over two different corners to get the coord. for those points. Very simple.


thats how i do it

but i add this..

position: absolute; left:340px; top:200px;
 

Posts in this topic


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: