Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Relative positioning of map areas?


Message #1 by "Draco Associates" <jmail@d...> on Mon, 10 Jun 2002 12:21:24 -0400
On a site we're updating, a complex image and pop-up menus provide
navigation.  An HTML <map></map> defines the hard-coded coordinates for
about a dozen hotlink and rollover areas on the image.  The popup menus
are supported by a javascript function in the head which also includes
hard-coding of the positions in which the popups appear.  The system was
created in Fireworks 4.

The 750-pixel-wide site currently appears aligned left.  We'd like to
align the site center - it is enclosed in a master table - but using a
DIV tag to do that makes the hard-coded map and menu coordinates
wacky... they stay over at the left side, of course.  Is there a way to
tell the map coordinates to be relative to the left edge of the master
table for the page, or some other way to keep them aligned to their
underlying graphics?

TIA


  Return to Index