Looking to create a responsive table with 2 columns using jquery mobile.
I tried aligning one column to the left and the other to the right, but instead, both columns appeared stacked vertically.
Is there a way to display a 2-column table with proper alignment on mobile devices using responsive design? I want the left cell to appear on the left and the right cell on the right, in a normal table layout without stacking. (the web app uses jqm)
<div data-role="main" class="ui-content">
<table style="width:100%" data-role="table" class="ui-responsive">
<thead>
<tr>
<th data-priority="1" style="text-align:left"></th>
<th data-priority="1" style="text-align:right"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">1</td>
<td style="text-align:right">Alfreds Futterkiste</td>
</tr>
</tbody>
</table>