Basically I have the following:
<td>
<span id="sp1">foo</span>
<span id="sp12">foo</span>
</td>
How can I align sp1
on the left
and sp2
on the center
?
I have tried using text-align
and the position
attributes but none worked.
This didn't work, for instance:
<td style="text-align:left">
<span id="sp1">foo</span>
<span style="text-align:center" align="center" id="sp12">foo</span>
</td>