resimde görülen 3 bloğun en sağında fazladan boşluk kalıyor. boyutlar aralıklar dahil kayma olmaması gerek. 5 arttırınca altta kayıyor blok. hatayı farkedebilen var mı?
html kodları
Alıntı
<html>
<head>
<title>Tema</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
</head>
<body>
<div id="genel">
<div class="ust"><div id="ust">
</div></div>
<div class="leftBlock">Burası Sol Bloğumuz</div>
<div class="centerBlock">Burası Orta Bloğumuz</div>
<div class="rightBlock">Burası Sağ Bloğumuz</div>
</div>
</body>
</html>
css dosyası
Alıntı
#genel
{
width: 990px;
height: 600px;
background-color: #333333;
}
#ust
{
width: 990px;
height: 130px;
background-color: #666666;
}
.ust
{
padding: 5px 5px 5px 5px;
}
.leftBlock
{
width:170px;
height:200px;
background-color: #666666;
float:left;
margin-left:5px;
}
.centerBlock
{
width:635px;
height:200px;
background-color: #666666;
float:left;
margin-left:5px;
}
.rightBlock
{
width:170px;
height:200px;
background-color: #666666;
float:left;
margin-left:5px;
}