Witam,
Podobny temat pojawił się już na forum, jednak zamieszczone tam rozwiązanie nie pomogło. Będę bardzo wdzięczna jeśli ktoś znajdzie błąd, strona internetowa jest na jutro :)
body
{
background-color:#303030;
color:#ffffff;
font-family:'Lato',sans-serif;
font-size:20px;
}
#container
{
width:1000px;
margin-left:auto;
margin-right:auto;
}
.rectangle
{
width:960px;
margin:20px;
}
.square
{
width:50%;
float:left;
}
#logo
{
float:left;
font-family:'Josefin Sans',sans-serif;
font-size:70px;
width:600px;
margin-top:10px;
margin-bottom:10px;
}
#zegar
{
float:left;
font-family:'Josefin Sans',sans-serif;
font-size:70px;
margin-top:10px;
margin-bottom:10px;
}
.tile1
{
width:230px;
height:142px;
background-color:#3095d3;
float:left;
margin:10px;
}
.tile2
{
width:230px;
height:142px;
background-color:#666666;
float:left;
margin:10px;
}
.tile3
{
width:230px;
height:142px;
background-color:#93c748;
float:left;
margin:10px;
}
.tile4
{
width:420px;
height:142px;
background-color:#ee5232;
margin:10px;
}
.tile5
{
margin:10px;
width:420px;
height:304px;
background-color:#666666;
}
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" href="style.css" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Lato|Josefin+Sans&subset=latin-ex' rel='stylesheet'type='text/css'>
</head>
<body>
<div id="container">
<div class="rectangle">
<div id="logo">Jan Kowalski</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>