View Full Version : Removing Gap Between Images


WiseWizards
11-11-2005, 11:01 PM
Hello!

I have a question pertaining to the following webpage: Miss Naper Online
(http://WiseWizards.tripod.com/Development/010001/index.html)
This is a client website I've just recently started. It's for a teacher portfolio and résumé. The client is going to be an elementary school teacher. The design is a "professional, yet elementary school like" design.

Anyway, I noticed in the design that between the header and the actual body of the page (not the body of the HTML document) there is a gap. For those not using IE, you'll notice you won't find it... that's because it doesn't show up in Netscape or Firefox (the two other browsers I tested it with). Only in IE did the gaps appear. I tried everything I could think of to remove those gaps. I have the cellpadding and cellspacing set to zero, CSS styles with padding set to zero, and changing the align attributes of the TR tags. I just can't get rid of those gaps...

Does anybody have any ideas on this? It's nothing I can't live without, but considering the majority of the people still use IE, I really wish I could get rid of this somewhat obvious flaw.

Thanks to anybody who can give me some suggestions!

Regards,
Mike

pb&j
11-12-2005, 04:01 AM
just for fun, try taking this part...

<IMG SRC="Images/Header.png" WIDTH="775" HEIGHT="117" BORDER="0" ALT="Miss Naper Online" HSPACE="0" VSPACE="0">
</TD>

and delete the return between them like this...

<IMG SRC="Images/Header.png" WIDTH="775" HEIGHT="117" BORDER="0" ALT="Miss Naper Online" HSPACE="0" VSPACE="0"></TD>

IE tends to go weird when there is space or returns before the </td> tags.

WiseWizards
11-12-2005, 04:45 PM
Thank you, thank you, thank you! Funny... I posted this question here and at WebProWorld. I got one reply here (from you) and 4 from WebProWorld. Each one at WebProWorld involved advanced ASP techniques and CSS modifications. Yours... delete the return. And yours woked perfectly! I can't wait to tell the guys at WebProWorld what a genius you are, lol!

Thanks again... I greatly appreciate it!

Regards,
Mike

pb&j
11-12-2005, 06:25 PM
no worries. just a little tidbit of info i picked up along the way.