Forum Moderators: open

Message Too Old, No Replies

one table cell off by 2px.

         

wlandymore

2:16 am on Nov 6, 2005 (gmt 0)

10+ Year Member



I have a table on top of another table and they should be flush because I have all the spacing and borders set to '0', but there is a tiny little white space that is throwing it off. I put the border to 1 and it's not another cell that I accidentally put in there.

Also, the image that is being thrown off a little is 187 in height. I have the table cell set to 187, the row next to it is set to 187 (and it's fine), it just this one cell.
It's like the image has been set to valign="top" and that's why it's not taking up that white space at the bottom, but if you set it to bottom it won't move because all the cells and image size are 187 so there's nowhere for it to go.

does anyone have a sweet clue as to how to get this to align properly?

It's fine in FireFox....it's just IE that it doesn't look right in.

encyclo

3:18 am on Nov 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums wlandymore!

Just to confirm, the white space occurs only underneath an image within a table cell of the same height? Also, what doctype are you using on your pages?

wlandymore

5:01 am on Nov 6, 2005 (gmt 0)

10+ Year Member



yes, that's what's happening.

Right now I just have <html> at the top and I haven't defined a type.

Would it make a difference if I put something like 'transitional'?