I have code like this:
<table>
<tr>
<td align="center">
<ul>
<li style="float:left;display:inline">Some text</li>
<li style="float:left;display:inline">Other text</li>
</ul>
</td>
</tr>
</table>
The problem is that the UL width is 100% and then all UL are aligned to the left. How can I center the content into UL? I must have that style for the LI, so I need a UL with fitting to the content.