Click to See Complete Forum and Search --> : image in table cell


okham
07-28-2009, 06:45 PM
Hi All...sort of a basic question here that I've never found a solution to, wonder if anyone could suggest something about it......I've got this table 3x4 that I'm putting an image in each cell...I set each image to something like width=30%.....I set the cellpadding:0, and the image padding:0, as well as margin:0.....and still there's this huge space around the image that forces the cell to a larger size than I need. I'm just wondering if there's anything that can be done about this...basically I'm wanting at least the width to fit within the cell without a space. Could someone help me understand what's going on with this? Thanks :)

okham

ryanbutler
07-29-2009, 09:14 AM
It sounds like a cell spacing issue. Set that to 0 and see if that is the desired result. Either that, or total up with the widths of your images, and set your table width to equal to that.

okham
07-29-2009, 10:27 AM
thanks ryan....you know, i'm not sure about this, but i think when i set an image to a percentage width size, it displays the image at that percentage, but the area around the image maintains the same original size of the image... okham -o-o-