Правый сайдбар уходит в низ.
Помогите пожалуйста.
Как это исправить?
<!DOCTYPE html>
<html>
<head>
<title>Programming Languages</title>
<meta charset="utf-8">
<link href="styles/styles.css" rel="stylesheet" type="text/css"
</head>
<body>
<div id="Fon" class="radius">
<div id="nav_top">
<ul>
<li><a href="#">Главная</a></li>
<li><a href="#">Новости</a></li>
<li><a href="#">Погода</a></li>
<li><a href="#">Форум</a></li>
</ul>
<form method="" action="">
<a href="#"><img src="images/seach.png" alt="Поиск по сайту" widht="33" class="seach_img" ></a>
<input type="text" name="topsearch" placeholder="Поиск по сайту..." class="radiusseach" >
</form>
</div>
<div id="header" >
<br><div id="komp">
<br><br><br><br><div> <h1>Programming Languages</h1></div>
</div>
</div>
<div id="peregorodka"></div>
<div id="container">
<div id="navl">
<div class="ls_prog"><i style="background-position: 2px 0"></i>Языки программирования</div>
<div class="menu"></div>
<div class="nav2">
<ul>
<li><a href="#"; class="c_sharp"><i></i>C Sharp</a></li>
<li><a href="#"; class="c_plus"><i style="background-position: -24px 0"></i>C++</a></li>
<li><a href="#"; class="pascal"><i style="background-position: -48px 0"></i>Pascal</a></li>
<li><a href="#" class="java"><i style="background-position: -104px 0"></i>Java</a></li>
<li><a href="#" class="delphi7"><i style="background-position: -77px 0"></i>Delphi 7</a></li>
<li><a href="#" class="python"><i style="background-position: -129px 0; widht: 22px"></i>Python</a></li>
</ul>
<div class="statistika"><i style="background-position: -24px 0" ></i><div class="text">Статистика</div> </div>
</div>
</div>
<div id="content">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in cup ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esseLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.consequat. Duis aute irure dolor in reprehenderit in voluptate ,
quis nostrud exerci
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esseLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatatdolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.consequat. Duis aute irure dolor in reprehenderit in voluptate ,
quis nostrud exerci
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esseLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatatdolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.consequat. Duis aute irure dolor in reprehenderit in voluptate ,
quis nostrud exerci
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esseLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatatdolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.consequat. Duis aute irure dolor in reprehenderit in voluptate ,
quis nostrud exerci
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esseLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
</div>
<div id="navr">
<div id="avtorizachija"><i style="background-position: -32px 0"></i>Авторизация</div>
<div class="fon2">
<form method="" action="" >
<input type="text" name="login" placeholder="Логин..." class="radiuslogin">
<input type="password" name="password" placeholder="Пароль..." class="radiusparol">
<p class="remember_me">
<label><input type="checkbox" name="remember_me" ="remember_me"><div class="remember_me2">Запомнить меня</div></label>
</p>
<p class="submit"><input type="submit" value="Вход" ></p>
</form>
<div class="login-help">
<a href="#" class="login_help2">Забыли пароль? |</a>
<a href="#" class="login_help3">Регистрация</a></p>
</div>
<div class="reklama"><i style="background-position: -0px 0"></i>Реклама</div>
</div>
</div>
</div>
<div id="footer"><br><br><br><p style="text-align: center;">Copyright © 2014 - Programming Languages. Все права защищены.</p></div>
</body>
</html>
*{
margin: 0;
padding: 0;
outline: none;
}
body
{
background: #ffffff ;
font: 12px Tahoma, arial, sans-serif;
background-position: center;
}
a {
text-decoration: none;
}
.clr {
clear: both;
}
h1 {
padding-left: 354px;
margin: 0px;
color: #1985b2;
white-space: nowrap; height: 20px;
}
.radius {
border-radius: 4px;
-webkit-box-shadow: border-radius: 4px;
-o-box-shadow: border-radius: 4px;
-moz-box-shadow: border-radius: 4px;
}
/* начало поиска*/
.radiusseach {
border-radius: 5px;
}
input[name=topsearch]{
float: right;
margin-right: 10px;
margin-top: 5px;
height: 25px;
width: 165px;
box-shadow: inset 0px 4px 4px;
background: #cdeeff;
border: none;
padding-left: 3px;
}
.seach_img {
float: right;
margin-right: 11px;
margin-top: 4px;
}
/* конец поиска*/
#Fon {
width: 1000px;
margin: 31px auto;
background: #ffffff ;
display: table;
box-shadow: 0px 1px 3px #303030;
-webkit-box-shadow: 0px 1px 3px #303030;
-o-box-shadow: 0px 1px 3px #303030;
-moz-box-shadow: 0px 1px 3px #303030;
}
/*начало верхней навигации */
#nav_top {
height: 35px;
background: #3c8fa9;
border-top-right-radius: 4px;
border-top-left-radius:4px;
}
#nav_top ul {
list-style: none;
}
#nav_top ul li {
float: left;
border-right: solid 1px #ffffff;
}
#nav_top ul li a {
color:#ffffff;
display: block;
padding: 0 7px;
line-height: 35px;
}
#nav_top ul li a:hover{
background: #efbc0b;
}
#nav_top ul li:last-child {
border-right: none;
}
#header {
height: 203px;
background: url("../images/shapka2.png");
width: 1000px;
}
#komp {
width: 400px;
height: 400px;
background:url("../images/komp.png") ;
background-repeat: no-repeat;
margin-left: 20px;
}
/*конец верхней навигации */
/*перегородка между шапкой и сайтбарами с контентом */
#peregorodka {
background: url("../images/peregorodka.png");
height: 3px;
width: 1000px;
}
/* конец перегородки*/
/* */
/* начало правого блока, левого и контента*/
#container {
width: 1000px;
background: #3e99b5;
}
#navr {
width: 200px; /*правый блок */
float: right;
}
#avtorizachija{
width:200px;
height:40px;
line-height:33px;
text-align:center;
background: #237b96;
color:#efbc0b;
}
#avtorizachija>i {
background: url("../images/avtoriz_reklam.png") no-repeat;
display:block;
width:28px;
height:25px;
float:left;
margin-right:5px;
margin-top:5px;
float: right;
}
.radiuslogin {
width: 190px;
border-radius: 10px;
margin-top: 8px;
margin-left: 3px;
}
.radiusparol {
width: 190px;
border-radius: 10px;
margin-top: 8px;
margin-left: 3px;
margin-bottom: 5px;
}
.remember_me {
margin-left: 3px;
margin-top: 1px;
}
.submit {
color:#237b96;
margin-left: 130px;
}
.remember_me2 {
position: relative;
top: -17px;
left: 20px;
}
#navr p.submit {
position: relative;
top: -35px;
left: 25px;
}
.login_help2{
color:#ffffff;
font-size: 12px;
position: relative;
top: -30px;
left: 10px;
}
.login_help3 {
color:#ffffff;
font-size: 12px;
position: relative;
top: -30px;
left: 10px;
}
#navr p #remember_me {
float: left;
line-height: 32px;
}
.remember_me {
color:#ffffff;
}
#navr p#submit {
float: right;
}
.reklama {
width:200px;
height:40px;
background:#237b96;
line-height:33px;
text-align:center;
margin-top: -20px;
color:#efbc0b;
}
.reklama>i {
background: url("../images/avtoriz_reklam.png") no-repeat;
display:block;
width:32px;
height:25px;
float:right;
margin-right:5px;
margin-top:5px;
}
.font-size {
font-size: 12px;
color:#ffffff;
}
#container>#navl {
width: 200px; /*левый блок */
float: left;
}
/* правое меню*/
.ls_prog {
width:200px;
height:40px;
background:#237b96;
line-height:33px;
text-align:center;
color:#efbc0b;
}
.ls_prog>i {
background: url("../images/sprite_glav.png") no-repeat;
display:block;
width:24px;
height:30px;
float:left;
margin-left:5px;
margin-top:2px;
}
.nav2 ul li{
line-height: 40px;
padding-left: 8px;
margin: 0px auto;
background: url("../images/pereg_menu.png") repeat-x;
}
.nav2 ul li a {
color: #fdfdfd;
}
.nav2 ul li a:hover {
display: block;
color:#efbc0b;
}
.nav2 ul {
list-style: none;
text-align: center;
}
.nav2 ul li a>i {
background: url("../images/sprite_menu_glav.png") no-repeat;
float: left;
width: 21px;
height: 30px;
margin-top: 5px;
}
.nav2 {
background: #3e99b5;
width: 200px;
}
.c_plus {
margin-right: 45px;
}
.c_sharp {
margin-right: 30px;
}
.menu {
height: 1px;
width: 200px;
}
.pascal {
margin-right: 38px;
}
.java {
margin-right: 45px;
}
.delphi7 {
margin-right: 30px;
}
.python {
margin-right: 35px;
}
/*конец правого меню */
/*начало статистики */
.statistika {
width:200px;
height:40px;
background:url("../images/fon1.png");
line-height:40px;
color:#efbc0b;
}
.statistika>i {
background: url("../images/sprite_glav.png") no-repeat;
display:block;
width:24px;
height:30px;
float:left;
margin-left:7px;
margin-top:4px;
}
.text {
margin-left:80px;
}
/*конец статистики */
#content {
padding-left: 4px;
margin: 0 200px 0 200px;
background: #fbfeff;
padding-top: 4px;
padding-right: 4px;
margin-bottom: 8px;
}
#footer {
width: 1000px;
height: 101px;
background: #3c8fa9;
font-size: 14px;
text-align: right;
margin-top: 2px;
clear: both;
}