PDA

View Full Version : problem aligning this...



mlowery
February 17th, 2003, 15:13
http://www.mlowery.net/AC
Notice how the bottom of the logo does not touch the border. I have set the cellpadding to 0 and the height of the row should auto-align with the height of the picture, so it SHOULD be aligning perfectly. Feel free to look at my source code. Please tell me what I'm doing wrong.

Cagez
February 17th, 2003, 15:53
This use to happen to me, its really weird... Change this:

<TD colspan="2">
<img src="pics/logo.jpg">
</TD></TR>

to

<TD colspan="2"><img src="pics/logo.jpg"></TD></TR>

I dunno why, but the browser thinks its a space or a line or something and adds that little bit of space.

keith
February 17th, 2003, 16:49
or:
<TD colspan="2">
<img src="pics/logo.jpg"><br>
</TD></TR>

merickson
February 20th, 2003, 19:44
Try moving the height=60 inside the TD tag.
Looking at it closer, I see the image aligning with the bottom of the cell. I do see the 1 pixel border between the cells immediatly below the top cell.
I forget the codes for controling the internal borders, but they do exist.