元素中的中心元素

时间:2015-03-18 20:36:09

标签: css center

我试图将此元素置于此处:https://trello-attachments.s3.amazonaws.com/5508d4ee693f59d0072198d7/1191x701/f94f2503ad54439174bed54e3630041d/ScreenShot_20150318203417.png

是的,有人能帮帮我吗?此页面的链接是http://margaridamoreira.com/welcome/。哪个CSS可以解决这个问题?

最佳, IVO

1 个答案:

答案 0 :(得分:0)

ul css选择器中的limedia=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元素对齐,这不是您想要的。

相关问题