I am learning html/css and currently am trying out an example in a book I am using. The content in the "site" should be centered, but when I open my files in browser and look in Firefox, the content seems left justified. Below is the HTML and CSS (very simple). I really appreciate any help!!
<!DOCTYPE html>
<html>
<head>
<title>tayco</title>
<link href="css/styles.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="header">
<h1>Logo</h1>
<div id="nav">
<ul>
<li><a href="">Home</a></li>
<li><a href="">Products</a></li>
<li><a href="">Services</a></li>
<li><a href="">About</a></li>
<li><a href="">Contact</a></li>
</ul>
</div>
</div><!--end header-->
<div id="content">
<div id="feature">
<p>Feature</p>
</div>
<div class="article column1">
<p>Column One</p>
</div>
<div class="article column2">
<p>Column Two</p>
</div>
<div id class="article column3">
<p>Column Three</p>
</div>
</div>
<div id="footer">
<p>©: Copyright 2011</p>
</div>
</body>
</html>
body {
width: 960px;
margin: 0 auto;}
#content {
overflow: auto;
height: 100%;}
#nav, #feature, #footer {
background-color: #efefef;
padding: 10px;
margin: 10px;}
.column1, .column2, .column3 {
background-color: #efefef;
width: 300px;
float: left;
margin: 10px;}
li {
display: inline;
padding: 5px;}