inside the <body> tags, using a "wrapper" div to control the whole section.
HTML:
<div id="wrapper">
(content)
</div>
CSS:
#wrapper {
...
margin: 0 auto;
}
令整个网页绝对居中!
内容来源于网络如有侵权请私信删除
- 还没有人评论,欢迎说说您的想法!