...

View Full Version : image help



Striker14537
10-21-2006, 03:23 PM
I'm having trouble all over the place today. Ok, I have this code:
<html><head>
<style type="text/css">
body {margin:0px;}
#bg_image {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
z-index: 0;
}
#contents {
z-index: 1;
position: absolute;
}
</style>
</head>
<body>
<div id="bg_image">
<img src="vistawindow.gif" style="width: 100%; height: 100%;" id="IMG1">
</div>
</body>
</html>

I trying to use image maps but the cordinates are always wrong because of the automatic resize. What do I do? How do I make it get the right ordinates?

This is impossible, isn't it? Whoever figures this out must be the SMARTEST person in the world! lol help.

_Aerospace_Eng_
10-21-2006, 03:57 PM
What do you mean the coordinates are always wrong? And why did you post this in the JS forum? It clearly has nothing to do with JS. Its more of an HTML/CSS question. Can you post a link to vistawindow.gif or attach it?

Striker14537
10-21-2006, 04:18 PM
What do you mean the coordinates are always wrong? And why did you post this in the JS forum? It clearly has nothing to do with JS. Its more of an HTML/CSS question. Can you post a link to vistawindow.gif or attach it?
I thought it could be fixed using JS... Well I'll put up an attachment in the afternoon.

Striker14537
10-22-2006, 12:49 AM
It's ok I will find a way around this... I think I won't use image maps, I'll just break down the image and make tables.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum