this seem s to be a simple problem, but still...
I try to build a two-cell horizontal table, one cell containing an image, the other a table cell the same height as the image.
problem is that in IE6win, the empty tablecell is "longer" than the image, even though both cells have their height set to the same value. The same thing happens in Firefox if I change the doctype from transitional to xhtml.
any ideas? here's my (validated) source:
and here's the same online:
thanks!!
gl03./
I try to build a two-cell horizontal table, one cell containing an image, the other a table cell the same height as the image.
problem is that in IE6win, the empty tablecell is "longer" than the image, even though both cells have their height set to the same value. The same thing happens in Firefox if I change the doctype from transitional to xhtml.
any ideas? here's my (validated) source:
Code:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en" lang="en">
<body style="background-color: #555555">
<table style="height:49px;">
<tr>
<td style="height:49px; width:49px; padding:0px; margin:0px;">
<img src="./test49.gif" alt="img" />
</td>
<td style="height:49px; width:216px; background-color: #CCCCCC; padding:0px; margin:0px;">
</td>
</tr>
</table>
</body>
</html>
and here's the same online:
thanks!!
gl03./