页面将不会对齐中心 [英] page will not align center
本文介绍了页面将不会对齐中心的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个css问题。
http://www.luukratief-design.nl/dump/parallax/index.html
我无法获取此页面对齐中心。
在我得到的答案使用text-align:center; 。
I cant get this page to align center. Before i get the answer to use "text-align: center;" on the body, i already did.
页面100%验证(CSS和HTML)。
The page 100% validates (CSS and HTML).
推荐答案
设置 #wrapper 的左右边距, code> div to
auto
Set the left and right margins of the #wrapper
div to auto
#wrapper{
margin:0 auto;
}
这篇关于页面将不会对齐中心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文