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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

imagemap coordinates off in Firefox/Netscape 1

Status
Not open for further replies.

spiveygb

Programmer
Jun 24, 2003
27
US
I've created an imagemap of the US breaking it up by states. All is well in IE, but when I try to use either Netscape or Firefox the image map becomes misaligned. For example, as I mouse over the states my mouse may be over California but the imagemap displays Nevada. Any ideas would be greatly appreciated. I've listed below snippets related to the imagemap.

part 1:
Code:
<img src="<% =urlImage %>" ismap usemap='#myMap' border='0' alt='US States' align='top' width='700' height='350'>

part 2:
Code:
<map name='myMap' id='myMap'>
 
Do you have an url where we could see the problem. You haven't given us any coordinates to work with.
 
You have spaces (or tabs) in your coordinate maps. Take them out and it looks pretty good. Apparently IE handles these better than Firefox.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top