Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


development:css:cent_wp

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;
}
development/css/cent_wp.txt · Last modified: 2017/12/12 09:01 by tplecko