Здравейте нов съм в CSS- а и се опитвам да настроя едни колони но не се получава..... първите две се получиха, но третата, която искам да е от ляво не се появява защо ? къде греша. Ето го и кода
Код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Free Search </title>
<style type="text/css">
body
{
margin-left:50px;
margin-top:50px;
margin-right:50px;
margin-bottom:50px;
padding:0px;
background-image: url('bg.gif');
background-repeat: repeat
}
/*Header*/
.header {
position: absolute;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
margin-top: -42px;
width: 930px;
height: 60px;
background-image: url('bg_head.gif');
background-repeat: repeat-x;
}
/*Head*/
.head {
position: absolute;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
margin-top: 0px;
width: 930px;
height: 80px;
background-image: url('bg_head.gif');
background-repeat: repeat;
/*left*/
.left {
position:absolute;
float:left;
width:120px;
height:530px;
border-right:1px dashed #666666;
}
</style>
</head>
<body>
<div class="header">
</div>
<div class="head">
</div>
<div class="left">
</div>
</body>
</html>