最佳, IVO
答案 0 :(得分:0)
对ul
css选择器中的li
和media=all
使用以下内容
.sharify-container ul{padding:0;margin: 0 auto;display: inline-block;width: 100%;height: 100%;text-align: center;}
.sharify-container li{list-style:none;height:50px;line-height:30px;float: none;margin:0;padding-left:2.5px;display: inline-block;}
使用float:left
,您将li
左侧的所有ul
元素对齐,这不是您想要的。