development:css:cent_wp

Differences

This shows you the differences between two versions of the page.


development:css:cent_wp [2019/10/31 09:04] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Centering a web page with CSS ======
 +Web page DIV:
 +<code html>
 +<div id="page-wrap"><br /> <!-- all websites HTML here --></div>
 +</code>
 +And CSS:
 +<code css>
 +#page-wrap {
 +width: 800px;
 +margin: 0 auto;
 +}
 +</code>
 +