With the following code how do I set it so that only 3 tables can be present per line within the outer table. Please and thankyou!!!!!
Clarification: my inner table represents a cake, I want to find a way to display only 3 cakes per row on the screen before starting a new row.
E.g. cake | cake | Cake
Cake | cake | cake
Cake | cake | cake.
<div>
<table>
<tbody>
<tr data-bind="foreach: cakes">
<td>
<table style="border: solid red 1px;">
<tr><td align="center"><p class="cake-name" data-bind="text: name"></p></td></tr>
<tr><td><img data-bind="attr: { src: image}" width="300" height="200" /></td></tr>
<tr><td width="300"><p class="cake-description" data-bind="text: description"></p></td></tr>
<tr><td><p data-bind="text: price"></p></td></tr>
<tr><td><button type="button" class="del btn btn-xs btn-danger" data-bind="click: $root.showDeleteModal.bind($root)">Delete</button></td></tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>