name _F1
09-30-2006, 01:33 PM
I wish to display multiple tables on one line, next to each other. This could be achieved using tables, but I want to avoid this is possible:
<table>
<tr>
<td>
<table>
<!--Table data-->
</table>
</td>
<td>
<table>
<!--Table data-->
</table>
</td>
<td>
<table>
<!--Table data-->
</table>
</td>
</tr>
</table>
I considered using display:inline, but the tables are bordered, and this caused display issues with the border as they only bordered one line.
Is there a solution to this problem using CSS? If it matters, the tables are within a DIV. In one case, there are two tables I wish to go alongside one another, in another, there are three.
<table>
<tr>
<td>
<table>
<!--Table data-->
</table>
</td>
<td>
<table>
<!--Table data-->
</table>
</td>
<td>
<table>
<!--Table data-->
</table>
</td>
</tr>
</table>
I considered using display:inline, but the tables are bordered, and this caused display issues with the border as they only bordered one line.
Is there a solution to this problem using CSS? If it matters, the tables are within a DIV. In one case, there are two tables I wish to go alongside one another, in another, there are three.