页面将不会居中对齐 [英] page will not align center
本文介绍了页面将不会居中对齐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个CSS问题。
http://www.luukratief-design.nl/dump/parallax/ index.html的
我不能让此页面居中对齐。 之前,我的答案使用文本对齐:中心;在身体上,我已经做到了。
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).
请帮忙,从来没有这样了。
Please help, never had this before.
推荐答案
设置 #wrapper中
div的左,右页边距为汽车
Set the left and right margins of the #wrapper
div to auto
#wrapper{
margin:0 auto;
}
这篇关于页面将不会居中对齐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文