Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,043 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,553 people online right now. Registration is fast and FREE... Join Now!




Area Shape Rect coords Problem with Internet Explorer

 
Reply to this topicStart new topic

Area Shape Rect coords Problem with Internet Explorer, This code is not working in IE only...I cannot see anything wrong

esti
22 Jul, 2008 - 05:55 AM
Post #1

New D.I.C Head
*

Joined: 22 Jul, 2008
Posts: 2

<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>
User is offlineProfile CardPM
+Quote Post

BetaWar
RE: Area Shape Rect Coords Problem With Internet Explorer
22 Jul, 2008 - 09:45 AM
Post #2

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 2,020



Thanked: 81 times
Dream Kudos: 1175
My Contributions
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.
User is online!Profile CardPM
+Quote Post

esti
RE: Area Shape Rect Coords Problem With Internet Explorer
22 Jul, 2008 - 10:16 AM
Post #3

New D.I.C Head
*

Joined: 22 Jul, 2008
Posts: 2

QUOTE(BetaWar @ 22 Jul, 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.


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 04:45PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month