在DIV中居中显示

来源:互联网 发布:16年考研数学 知乎 编辑:程序博客网 时间:2024/04/24 08:19
<div style="text-align:center;"><a href="http://XXXX" style="display:inline-block;width:25px; height:25px;">1</a><a href="http://XXXX" style="display:inline-block;width:25px; height:25px;">2</a><a href="http://XXXX" style="display:inline-block;width:25px; height:25px;">3</a></div>