如何让多个li居中于ul中间

设置ul的display:table,text-align:center。

注意:不可以设置ul的宽,不然无法实现。

posted @ 2018-10-29 01:05  rqpjuicy  阅读(367)  评论(0编辑  收藏  举报