Click to See Complete Forum and Search --> : Removing space below and image map


rayme22
01-12-2007, 07:43 PM
Hello,

I just added an image map to my website...

http://www.atreus-guild.com/index2.php

And since then it moved the rest of the website down a little, how can I get rid of that space?

WebJoel
01-12-2007, 07:46 PM
<style>
img {margin:0;}
</style>

IE likes to add a few pixels to just about everything. This removes them (and shows the imagemap the same way as Firefox).

To target *just the imagemap* and not ALL images on the page, this:

<img src="images/top.jpg" USEMAP="#top" border=0 VSPACE="0" style="margin:0;">

(I am assuming that "images/top.jpg" is your imagemap, yes?).

rayme22
01-12-2007, 07:51 PM
It's still doing it, it seems to only be doing it on the bottom, it was fine before I added the map, and I dont see anything that should be adding space.

rayme22
01-12-2007, 08:47 PM
I figured out that it is only doing it in IE, not Firefox, but what will fix it in IE?

rayme22
01-12-2007, 09:38 PM
So I couldn't figure out the image, so I went ahead and cut the bar into 13 images, linking some of them. Added them first and there was no space. When I went to add links to them it put space under them yet again. I have no clue why its doing it, I tried what you said and it is not helping.

rayme22
01-12-2007, 09:49 PM
It's not a border its adding to the image, its basically adding a margin below it of like 5 pixels thats moving everything down.