如图,我把全屏的拉小一点后,整个页面会整体向左移来实现居中,怎么实现的,求大神
我用层做实现不了
回复讨论(解决方案)
<body> <div style="width: 200px; height: 200px; background-color: Blue; margin:0 auto;"> </div></body>
margin:0 auto;
曾经有一篇绝对居中的文章
http://blog.jobbole.com/46574/
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn