Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


development:css:cent_wp

This is an old revision of the document!


Centering a web page with CSS

Web page DIV:

<div id="page-wrap"><br /> <!-- all websites HTML here --></div>

And CSS:

#page-wrap {
width: 800px;
margin: 0 auto;
}

Discussion

Enter your comment:
N T Y H᠎ M
 
development/css/cent_wp.1513069319.txt.gz · Last modified: 2019/10/31 08:55 (external edit)