I have a question that I am revisiting with more details in hopes of finding a better solution.
In the code snippet below, the output is aligned to the right of the row:
<table border="1" style="width:100%">
<tr>
<td align="right">
<div style="float:right;">test</div>
</td>
</tr>
</table>
In this next code snippet, however, the output does not align to the right as expected (it remains on the left side of the row), rendering float:right;
ineffective in this case:
The pagination() function produces the following result: 1 2 3 4 … 15 16 NEXT
<table border="1" style="width:100%">
<tr>
<td align="right">
<div style="float:right;"><?php echo pagination($total, $limit, $page); ?></div>
</td>
</tr>
</table>
If you have any suggestions on how to achieve proper alignment to the right, please share them. Your input will be greatly appreciated.