C
Carl Wan
Thanks in advance for helping solve the following puzzle: how come a
table cell with a one-pixel gif doesn't stay one pixel high when content
is added to adjacent cell.
Here are two examples (see the "comments" I put next to the cell)
FIRST TABLE:
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD> // appears one-pixel
high
<TD ROWSPAN="2">small amount of text here</TD>
</TR>
<TR>
<TD>miscellaneous filler</TD>
</TR>
</TABLE>
SECOND TABLE:
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD> // appears 30 pixels
high!
<TD ROWSPAN="2">MANY paragraphs of text here in this cell.</TD>
</TR>
<TR>
<TD>miscellaneous filler</TD>
</TR>
</TABLE>
....so how come when there is alot of "stuff" in that adjacent cell, the
cell with the one-pixel gif strrrrretches???
Thank you!
table cell with a one-pixel gif doesn't stay one pixel high when content
is added to adjacent cell.
Here are two examples (see the "comments" I put next to the cell)
FIRST TABLE:
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD> // appears one-pixel
high
<TD ROWSPAN="2">small amount of text here</TD>
</TR>
<TR>
<TD>miscellaneous filler</TD>
</TR>
</TABLE>
SECOND TABLE:
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD> // appears 30 pixels
high!
<TD ROWSPAN="2">MANY paragraphs of text here in this cell.</TD>
</TR>
<TR>
<TD>miscellaneous filler</TD>
</TR>
</TABLE>
....so how come when there is alot of "stuff" in that adjacent cell, the
cell with the one-pixel gif strrrrretches???
Thank you!