...

View Full Version : bg in table unaligned for some reason O.o



UnknownWanderer
01-10-2003, 01:41 AM
www.pc-light.com

If you notice the middle part of "Our Mission" is unaligned with the rest of it. For just about no reason. Hopefully someone here can find the reason =)

MCookie
01-10-2003, 03:07 AM
Always put your <td></td> tags on one line.
Never like this:

<td>
<img>
</td>

But like this:

<td><img></td>

UnknownWanderer
01-10-2003, 03:25 AM
I tried that and it didn't work. The problem lies with the background="/images/main-body.jpg" being unaligned. And since it's a background I don't think it pertains to the img tag o.o

PauletteB
01-10-2003, 08:46 AM
Problem is the first line on the left border of main-body is missing, and as a result, the image has shifted left by one pixel.

That image, main-body.jpg, is a bottom slice of main-mission.jpg, and, in the process of being saved or pasted, got shifted one pixel to the left. As it is a background, it has started to repeat itself. Redo main-body.jpg, taking care that the vertical left border lines of main-mission and main-body do exist, and are in the same relative position. Right now, the first line is missing in one image and the second line is at 4^left in main-body while it is 5^left in main-mission.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum