Hallo *.*,
wenn ich ein Bild in einer Tabellen-Zelle hab und keine style-Attribute angeben sind. Sollte doch die Zelle so groß werden, wie das Bild. Bei mir bleibt aber sowohl links, als auch unter dem Bild ein minimaler Rand von vielleicht 1-2px. Das ganze tritt in beiden getesteten Browsern auf (FF2.0 und IE6.0)
Wie kann ich das unterbinden?
Beispiel:
<table style="border-collapse:collapse; border-style:none; border-color:black; width=1024px;">
<tr style="line-height: 0;">
<td id="1">
<img src="/fotos/logo_header.png" style="border:none;width:1024px;" alt="logo" />
</td>
<td id="2" style="background-image:url(/fotos/logo_continuous.png); background-repeat:repeat-x;">
</td>
</tr>
<tr>
<td id="3">
</td>
<td id="4">
</td>
</tr>
</table>
Erläuterung:
Zwischen td 1 und td 2 sieht man den schwarzen hintergrund von td 1 durch, obwohl das bild drüberliegen sollte. Genauso zwischen td 1 und td 3