Forum Moderators: open

Message Too Old, No Replies

my cell changes it dimension with image in it of same dimension

i just don't get it

         

cartone

7:37 am on Jan 29, 2005 (gmt 0)

10+ Year Member



I created a simple table op 1000 p * 1000 p.
I have 10 * 10 cells in it (each has dimension 10p * 10p)

I have a picture of 10p * 10p.

If I put the picture in the middel cell, it just doesn't fit. There is a gap on the right side of the cell and all cells on the right side of that cell are about 1pxl smaller.

I just want my picture to match the whole cell.

fyi: All dimensions are set in CSS and I write the code my self, so no hidden characters of frontpage.

This problem is taken me out of shedule :-((

rocknbil

6:13 pm on Jan 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Did you validate the code? That is, no missing closing </td>'s or </tr>'s? Also on the blank cells, did you put a &nbsp; in them? Lastly, try setting cellspacing and cellpadding = 0.