Hi
I have a table inside of another table:
Quote:
<table with=100% border="0">
<tr>
<td align="center">
<table with=95% border="0">
<tr>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
<td align="center"> some content</td>
</tr>
</td>
</tr>
</table>
|
Depending of a situation, all cells are filled with a certain value.
Using "if" statements, some of the cell’s are not shown, but sometimes all have values, making the cell’s to appear. When this happen, the total cells width, are larger than the table width, and the cell stretches horizontally throughout the monitor, getting out of the table, instead of dropping down, expanding the height of the table, and appearing vertically.
I cannot open and close, the middle cell’s with <tr>and ></tr>, due the fact, if a certain cell does not have any value, it leaves a empty space.
Can somebody give me a hint?
thanks
|