Witam.
Postanowiłem rozpocząć kurs html, jestem w odcinku 3 Pana Mirosława i niestety napotkałem na problem. Mianowicie po stworzeniu divów jakby główny div nie wyśrodkował się (container).
( moment w filmie )
U mnie wyświetla się strona w ten sposób 
Kod html:
<!DOCTYPE HTML>
<html lang="pl">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>Jan Kowaslki - portfolio</title>
<meta name="description" content="Stworzę dla Ciebie wyjątkową stronę WWW! Zatrudnij programistę webowego: PHP JavaScript, HTML, CSS, MySQL, Wordpress, Joomla, Drupal"/>
<meta name="keywords" content="zamów, stronę, tworzenie, www, programista, portfolio, php, javascript, html, css, wordpress, joomla, drupal"/>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans|Lato" rel="stylesheet">
</head>
<body>
<div id="container" >
<div class="rectangle">
<div id="logo">Jan Kowaslki</div>
<div id="zegar">12:00:00</div>
<div style="clear: both;"></div>
</div>
<div class="square">
<div class="tile1">1</div>
<div class="tile1">1</div>
<div style="clear: both;"></div>
<div class="tile2">2</div>
<div class="tile3">3</div>
<div style="clear: both;"></div>
<div class="tile4">4</div>
</div>
<div class="square">
<div class="tile5">5</div>
</div>
<div style="clear: both;"></div>
<div class="rectangle"></div>
</div>
</body>
</html>
Kod css:
body
{
background-color: #303030;
color: #ffffff;
font-family: 'Lato', sans-serif;
font-size: 20px;
}
#container
{
wider: 1000px;
margin-left: auto;
margin-right: auto;
}
.rectangle
{
width: 960px;
margin: 20px;
}
.square
{
width: 500px;
float: left;
text-align: center;
}
#logo
{
float: left;
font-family: 'Josefin Sans', sans-serif;
font-size: 70px;
width: 600px;
margin-top: 5px;
margin-bottom: 5px;
}
#zegar
{
float: left;
font-family: 'Josefin Sans', sans-serif;
font-size: 70px;
margin-top: 5px;
margin-bottom: 5px;
}
.tile1
{
width: 230px;
margin: 10px;
height: 142px;
background-color: #3095d3;
float: left;
}
.tile2
{
width: 230px;
margin: 10px;
height: 142px;
background-color: #666666;
float: left;
}
.tile3
{
width: 230px;
margin: 10px;
height: 142px;
background-color: #93c748;
float: left;
}
.tile4
{
width: 480px;
margin: 10px;
height: 142px;
background-color: #ee5232;
}
.tile5
{
margin: 10px;
width: 480px;
height: 304px;
background-color: #666666;
}
Wydaje mi się że to margin left i right w containerze powinno wyśrodkować? Nie mam pojęcia co może być przyczyną.
Proszę o pomoc :)