|
I had (and have) the same problem once. I tried to fill a table with images, one image on each <td>. I got it pretty well (without any gaps) on Firefox, but (are you already guessing?.....) IE didn't displayed it like I wanted.
What I did was to set:
padding:0px on <table>
margin:0px; padding:0px on <th> (or <td>, doesn't matter)
margin:0px; padding:0px on <tr> (but I think this doesn't changed anything)
margin:0px; padding:0px on <img>
now the tricky thing is that it still may show gaps all around the images, for that on the <table> tag I have set cellspacing="0" , I never saw this possible in CSS, wonder why. Anyways, with that cellspacing it rendered very well in FF. But on IE it still shows horizontal lines, I think it may have to do with <tr>, but I never managed to get rid of them.
Also, when you add the image use
<td><img></td> (note the lack of space between the tags).
Another possibility would be absolute positioning, but thats up to you to decide
Schimassek...
|