Без да искам съм объркал някъде, но немога да намеря къде... моля Ви откриите ми грешката
Ето го и кода:
HTML:
CSS:
[/code]
Ето го и кода:
HTML:
Код:
<!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>Top Wallpapers</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<link type="text/css" rel="stylesheet" href="style.css" />
</head>
<body>
<div class="all">
<div class="header"></div>
<div id="stylefour">
<ul>
<li><a href="http://www.13styles.com/css-menus/style4/" title="css menus">Home</a></li>
<li><a href="http://www.13styles.com/css-menus/style4/" title="css menus">About Us</a></li>
<li><a href="http://www.13styles.com/css-menus/style4/" title="css menus" class="current">Services</a></li>
<li><a href="http://www.13styles.com/css-menus/style4/" title="css menus">Our Work</a></li>
<li><a href="http://www.13styles.com/css-menus/style4/" title="css menus">Contact Us</a></li>
</ul>
</div>
<div class="left">
<div id="small_top">
<div id="small_top_text">Категории</div>
</div>
<div id="small_middle">
</div id="small_middle_text">
Loren<br>
Loren<br>
Loren
</div>
</div>
</div>
<div id="small_bottom"></div>
</div>
<div class="center"></div>
<div class="right"></div>
<div class="clear"></div>
<div class="footer"></div>
</div>
</body>
</html>
CSS:
Код:
body{margin: 0; padding : 0;}
.header {background: url(header.jpg) repeat-x; width: 100%; height: 110px;}
.all{width: 960px; margin: 0 auto;}
.left{width: 205px; height: 500px; margin-top: 10px; float: left;}
.center{border: 1px solid red; width: 520px; height: 500px; margin-top: 10px; margin-left: 10px; float: left;}
.right{border: 1px solid red; width: 205px; height: 500px; margin-top: 10px; margin-left: 10px; float: right;}
.clear{clear:left;}
#stylefour{position:relative;display:block;height:39px;font-size:11px;font-weight:bold;background:transparent url(images/bgOFF.gif) repeat-x top left;font-family:Arial,Verdana,Helvitica,sans-serif;border-top:4px solid #B30000;}
#stylefour ul{margin:0;padding:0;list-style-type:none;width:auto;}
#stylefour ul li{display:block;float:left;margin:0;}
#stylefour ul li a{display:block;float:left;color:#666;text-decoration:none;padding:11px 20px 0 20px;height:23px;background:transparent url(images/bgDIVIDER.gif) no-repeat top right;}
#stylefour ul li a:hover,#stylefour ul li a.current{color:#B30000;background:#fff url(images/bgON.gif) no-repeat top right;}
#small_top {
background: url(small_top.gif) no-repeat;
width: 205px;
height: 42px;
}
#small_middle {
background: url(small_middle.gif) repeat-y;
width: 205px;
height: auto;
}
#small_bottom {
background: url(small_bottom.gif) no-repeat;
width: 205px;
height: 12px;
}
[/code]