css and tables
Posted: Sun Apr 01, 2007 5:02 pm
I have an app set up so that users can choose options from a table that is displayed like this:
For the final display, I want to take this table and align it vertically, not horizontally. So the DISPLAY result would be the equivilant of:
Is it possible to do this using css only? I'm not familiar enough with the application to write a new page, however if I could style it to display that way, I could achieve my desired result.
I've messed around with display: table-row, table-cell, and table-row-group, but so far no luck.
Code: Select all
<table>
<tr>
<td>cell one</td>
<td>cell two</td>
</tr>
</table>Code: Select all
<table>
<tr>
<td>cell one</td>
</tr>
<tr>
<td>cell two</td>
</tr>
</table>I've messed around with display: table-row, table-cell, and table-row-group, but so far no luck.