Click to See Complete Forum and Search --> : Help with space on line breaks
godspeed68
03-26-2005, 03:04 PM
Hello, I'm runnin' into a problem on IE (6) that doesn't occur with Netscape. I'm makin' a "fake" image map, and need the 8 images to sit completely snug on each other (vertical). Yet in IE there is space between the images.....I suppose I'm missin' something really basic.....any help???
thanks,
tOm
Can we see an example or something? That's kind of a vague question, believe it or not, since it could be a number of things depending on just how you're doing this "fake" image map.
felgall
03-26-2005, 03:13 PM
You probably have spaces or line breaks between the tags. IE will insert a space into the layout of your page where this occurs. Make sure that there are no spaces between the tags and move any line breaks inside of the tags between attributes.
eg. replace
<img src="img1.gif" width="100" height="100" alt="image 1" />
<img src="img2.gif" width="100" height="100" alt="image 2" />
with
<img src="img1.gif" width="100" height="100"
alt="image 1" /><img src="img2.gif" width="100"
height="100" alt="image 2" />
godspeed68
03-26-2005, 03:16 PM
ill give that a shot.....unfortunatly...theres also a problem with apache on the server im uploading to (doing it for a business)....so i only have the files on my system.
tOm
godspeed68
03-26-2005, 03:23 PM
odd....about 2 hours ago i could have sworn i did that....well anyways it worked! thanks.
tOm
js_prof_cons
03-26-2005, 04:06 PM
Why not use a real image map? You can design them very easily using Madedit (http://www.boutell.com/mapedit/download.html).
Ben Rogers
03-26-2005, 04:16 PM
Real image maps aren't exactly the model of accessibility... with proper alt text, however, this "'fake' image map" approach holds some promise. GS68, I'd suggest to keep going with what you're doing... I don't know much about image maps, but I know they're not good for your bandwidth, or users, in the long run.
Real image maps aren't exactly the model of accessibility... with proper alt text, however, this "'fake' image map" approach holds some promise. GS68, I'd suggest to keep going with what you're doing... I don't know much about image maps, but I know they're not good for your bandwidth, or users, in the long run.
If I remember right, image maps are valid HTML and mentioned in the WCAG 1.0. (It says that you should avoid using server-side image maps, and use client-side ones instead.) I liked the Night of the Image Map (http://alistapart.com/articles/imagemap/) a lot, myself.
js_prof_cons
03-26-2005, 04:18 PM
Well, I suppose if all the pictures are rectangles and the same size, it is better faking it. But when you get image maps of Africa and want the user to be redirected depending on the selected country, I suggest Mapedit [link above].