View Full Version : image into table cell

08-20-2006, 02:47 PM
Dear friends,
this is my problem.
i've created a 10X10 table and i want to insert images into some cells.
the think is that when i insert the image in the cell,the cell becomes bigger
so the entire table..
Is there any way to avoid that?
i want the image to fit exactly into the cell...


Creative Insanity
08-20-2006, 06:52 PM
resize you image so it is not larger than the cell.

08-21-2006, 12:03 PM
resize you image so it is not larger than the cell.

this doesnt work..
even if the image is smaller than the cell happens the same thing.
also when i try to write a number or a single latter happens te same thing..

any suggestion????

08-21-2006, 12:37 PM
this doesnt work.. It should, so unless you're willing to give some more details, it's going to be hard helping you :-/

08-21-2006, 02:38 PM
do your images have padding or margins?!

you would want to set the values to 0px as otherwise the table will change size to take that into account..

my thoughts...

08-21-2006, 07:15 PM
Perhaps transparent placeholders (GIF) the same size as your actual images might help in controlling what rows and columns change size.

However, without the HTML or a URL to the code, it is difficult to know how we can advise you.

If you are using CSS, do you have padding or margins set?

Beyond that, maybe different browsers produce different results. We need to know more before we can say.

08-22-2006, 02:25 PM
Table cells also have default margin and padding.