Area Shape Rect coords Problem with Internet Explorer

This code is not working in IE only...I cannot see anything wrong

Page 1 of 1

2 Replies - 5830 Views - Last Post: 22 July 2008 - 11:16 AM

#1 esti  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 22-July 08

Area Shape Rect coords Problem with Internet Explorer

Posted 22 July 2008 - 06:55 AM

<img src="spacer.gif" alt="" height="20" width="267" usemap="#navi" border="0"><map name="navi"><area shape="rect" coords="205,4,236,14" href="info.html" alt="The Work"><area shape="rect" coords="152,4,193,14" href="bio.html" alt="Credentials"> <area shape="rect" coords="99,3,144,14" href="index.html"alt="Home"></map>

Is This A Good Question/Topic? 0
  • +

Replies To: Area Shape Rect coords Problem with Internet Explorer

#2 BetaWar  Icon User is online

  • #include "soul.h"
  • member icon

Reputation: 1167
  • View blog
  • Posts: 7,207
  • Joined: 07-September 06

Re: Area Shape Rect coords Problem with Internet Explorer

Posted 22 July 2008 - 10:45 AM

I am pretty sure that rect in image maps go like so: Top, Right, Bottom, Left. Right now your coordinates are off the image meaning that the image won't be able to use them.

(Because you are using (205, 4, 236, 14) which puts the top at 204 pizels fromt he top of the image (or off the image since your image is only 20 pixels high).

Try rethinking your points.
Was This Post Helpful? 0
  • +
  • -

#3 esti  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 22-July 08

Re: Area Shape Rect coords Problem with Internet Explorer

Posted 22 July 2008 - 11:16 AM

View PostBetaWar, on 22 Jul, 2008 - 10:45 AM, said:

I am pretty sure that rect in image maps go like so: Top, Right, Bottom, Left. Right now your coordinates are off the image meaning that the image won't be able to use them.

(Because you are using (205, 4, 236, 14) which puts the top at 204 pizels fromt he top of the image (or off the image since your image is only 20 pixels high).

Try rethinking your points.

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1