lily16
03-23-2005, 09:45 PM
I have a problem with image maps too. It doesn't like where I want it to be here you can see
http://lonelydreams.net/x/foot.php
http://lonelydreams.net/x/foot.php
|
View Full Version : image map problems lily16 03-23-2005, 09:45 PM I have a problem with image maps too. It doesn't like where I want it to be here you can see http://lonelydreams.net/x/foot.php MaGiCSuN 03-25-2005, 08:52 AM I think the coords are switched. Not sure though. Try changing this part: nevermind you have a few coords from different links on the same position. I suggest making a new image map :) That's the best way to fix it ... always make sure that the first number in the coords is smaller then the 3rd number from the coords. |1-------| |--------| |-------2| imagine above is your "hotlink area". Then the first two numbers in the coords should be the spot "1" in the example above. The second two numbers are the spot "2" in the example. spot one is higher and closer to the left then spot 2. this is wrong: coords="12,4,0,0" that would say that spot "1" has to start 12px from left, 4px from top. And that spot 2 should start at 0px and 0px from top and left. That is backwards, since you always make shapes from top left to bottom right corner. So this is right: coords="0,0,12,4" However switching your coords wouldn't solve your problem since here: <area shape="rect" coords="110,48,54,10" href="map.php"> <area shape="rect" coords="176,48,52,10" href="credits.php"> if you switch them it would be: <area shape="rect" coords="54,10,110,48" href="map.php"> <area shape="rect" coords="52,10,176,48" href="credits.php"> but that would mean that the links start at almost the same place :)one is starting 54px from left, 10 from top. Other 54px from left and 10px from top. Meaning a difference from 2px, and that is not much so both area's are overlapping each other. Love, Mirna lily16 03-25-2005, 05:10 PM I decided to make it all over again and it worked thx MaGiCSuN 03-25-2005, 05:37 PM no problem :) Love, Mirna |