J
JL
I have a Table with 2 Rows.
There are 3 Cells in the first Row and 1 Cell in the second Row (with:
colSpan="3").
Cannot be simpler, I don't even use CSS:
----------
<TABLE border="1" width="800px">
<TR>
<TD width="150px">cell 1</TD>
<TD width="150px">cell 2</TD>
<TD>cell 3</TD>
</TR>
<TR>
<TD colSpan="3">test test test test test test test test</TD>
</TR>
</TABLE>
----------
I want the first two Cells to always keep their width="150px". The width of
the third Cell can change to fit the total width of the Table .
But:
If the lenght of the text in the second Row reaches the end of the text of
the first Row's third Cell ("cell 3") the width of the two first Cells
change!!
OK:
_______________________
| cell 1 | cell 2 | cell 3 |
There are 3 Cells in the first Row and 1 Cell in the second Row (with:
colSpan="3").
Cannot be simpler, I don't even use CSS:
----------
<TABLE border="1" width="800px">
<TR>
<TD width="150px">cell 1</TD>
<TD width="150px">cell 2</TD>
<TD>cell 3</TD>
</TR>
<TR>
<TD colSpan="3">test test test test test test test test</TD>
</TR>
</TABLE>
----------
I want the first two Cells to always keep their width="150px". The width of
the third Cell can change to fit the total width of the Table .
But:
If the lenght of the text in the second Row reaches the end of the text of
the first Row's third Cell ("cell 3") the width of the two first Cells
change!!
OK:
_______________________
| cell 1 | cell 2 | cell 3 |