C
Carl Gilbert
Hi
I have a fairly basic page the consists of a few tables and some images.
I have one table in the center of the page and I am setting the border,
cellpadding and cellspacing to zero.
I am also setting the border to ridge and setting a background image.
The dimensions of the table are 800x533 and the same applies to the image
that I am using for the background.
All is fine when there is just the table and the background image.
Now if I put an transparent image in the table using <TR><TD><IMG...> etc,
and set this image to 800x533, the height of the table increases slightly.
Say I then put 5 or 6 transparent images in the table and set their heights
to total 533 exactly, the table will increase by 5 or 6 times more than when
I had just one image in the table.
The result is that the image in the background will now start to draw a
second time in a tile effect in order to fill the table area.
I think what is happening, is when I add an image, there are some padding
issues with the images so even though the images within the table add up to
533, the area in which they actually take up is more like 550 or 560
depending on the number of images being stacked up.
Is there anyway to prevent the form from putting such padding on images so
that they line up next to each other rather than leaving a gap?
Regards, Carl Gilbert.
I have a fairly basic page the consists of a few tables and some images.
I have one table in the center of the page and I am setting the border,
cellpadding and cellspacing to zero.
I am also setting the border to ridge and setting a background image.
The dimensions of the table are 800x533 and the same applies to the image
that I am using for the background.
All is fine when there is just the table and the background image.
Now if I put an transparent image in the table using <TR><TD><IMG...> etc,
and set this image to 800x533, the height of the table increases slightly.
Say I then put 5 or 6 transparent images in the table and set their heights
to total 533 exactly, the table will increase by 5 or 6 times more than when
I had just one image in the table.
The result is that the image in the background will now start to draw a
second time in a tile effect in order to fill the table area.
I think what is happening, is when I add an image, there are some padding
issues with the images so even though the images within the table add up to
533, the area in which they actually take up is more like 550 or 560
depending on the number of images being stacked up.
Is there anyway to prevent the form from putting such padding on images so
that they line up next to each other rather than leaving a gap?
Regards, Carl Gilbert.