我通过html在表格中有一个ul。我可以通过调用使 ul 居中:
style="display:inline-table"
有没有办法在不使用样式/css的情况下使无序列表居中?
完整代码:
<ul width="50%" align="left" style="display:inline-table" font-weight="normal">
<li>1</li>
<li>2</li>
<li>3</li>
<li><font color="red">Note this list is left alligned but centered on the page</font></li>
</ul>