Recomendation:
It seems to me all of the divs floats and css just to make the basket table seems silly. The basket display is after all "tabular data". The point of using all the divs and css is to use fewer tables in the design rather than make the design table-less.
IMO this should be implimented as a valid XHTML / XML formatted table. For example:
This makes the flow more logical, the css much simpler and less prone to browser problems, and I believe it will be far more intuitive for the end users.
It seems to me all of the divs floats and css just to make the basket table seems silly. The basket display is after all "tabular data". The point of using all the divs and css is to use fewer tables in the design rather than make the design table-less.
IMO this should be implimented as a valid XHTML / XML formatted table. For example:
<table id="basket">
<thead>
<tr>
<th>headers</th>
</tr>
</thead>
<tbody>
loop
<tr>
<td>cell data</td>
</tr>
/loop
</tbody>
<tfoot>
loop
<tr>
<td>items</td>
</tr>
/loop
<tr>
<td>totals</td>
</tr>
</tfoot>
</table>
<thead>
<tr>
<th>headers</th>
</tr>
</thead>
<tbody>
loop
<tr>
<td>cell data</td>
</tr>
/loop
</tbody>
<tfoot>
loop
<tr>
<td>items</td>
</tr>
/loop
<tr>
<td>totals</td>
</tr>
</tfoot>
</table>
#basket {
}
#basket th {
}
#basket td {
}
#basket tfoot td {
}
}
#basket th {
}
#basket td {
}
#basket tfoot td {
}
Comment