PDA

View Full Version : HTML alignment question!


Falco
08-26-2002, 06:57 PM
Hey everyone! :)

I'm doing a pre-lim design for my church and I'm getting stuck at one point. I have the images sliced fine, but when i put them in HTML little gaps show up between the images. I've adjusted all my margins, cell spacing, alignments, etc. but it's still happening. I've run into this before and someone here helped out by plugging some extra coding in, so I'm hoping someone out there knows how to just get rid of the little spaces so the images line up together perfectly.

http://www.4revolution.org/cfan/

Thanks SO much! It's really important! ;)
-jordan

requestcode
08-26-2002, 07:35 PM
You might try these in your img tags:

HSPACE="horizMargin"

specifies a margin in pixels between the left and right edges of the image and surrounding text and images. Give the value as an integer. Navigator 1.1.

VSPACE="verticalMargin"

specifies a margin in pixels between the top and bottom edges of the image and surrounding text and images. Give the value as an integer. Navigator 1.1.

joh6nn
08-26-2002, 07:35 PM
<img src="i/foundation/sbar-dark.gif" width="160" height="27"> </td>

try getting rid of that space between the brackets.

<td valign="top"><div align="left"><img src="i/foundation/midtext.gif" width="460" height="258"></div>

get rid of the divs, i think. table cells are left aligned by default, and the div is assuredly creating extra space.

that might not solve all of the problem, but it should be a start.

duniyadnd
08-26-2002, 08:49 PM
Ugh, spent 10 minutes on this one, should have gotten it straight away... BAD!!

This is what you have

<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">

REMOVE

width="100%"

Is that what you wanted?
Duniyadnd

Falco
08-28-2002, 01:06 PM
Yeah, that's so perfect! Thank you guys so much!!!