Center content in page using CSS, not <center>

This commit is contained in:
Aaron Lindsay 2015-07-03 10:30:48 -04:00
parent 53e8b07623
commit fce1e44be6
2 changed files with 4 additions and 5 deletions

View File

@ -25,10 +25,6 @@
</head>
<body>
<center>
<div id="content"></div>
</center>
<div id="content"></div>
</body>
</html>

View File

@ -2,4 +2,7 @@ div#content {
width: 95%;
min-width: 75em;
max-width: 100em;
display: block;
margin-left: auto;
margin-right: auto;
}