vlad1999
Новичок
Мне нужно сделать вот такое расcтояние помеченое чёрной стрелкой:
Я не могу его сделать. Мне надо растояние между div. Вот документы index.html:
И main.css:
Чтобы видеть скрытое содержание Зарегистрируйтесь на форуме!
Я не могу его сделать. Мне надо растояние между div. Вот документы index.html:
PHP:
<!DOCTYPE html>
<html>
<head>
<title>Glad Role Play</title>
<meta charset="windows-1251">
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="page_align" class="b3radius">
<div id="header" style="margin-bottom: 15px;">
gfhfhfhfhfgh
</div>
<div id="vkontakte">
</div>
<div id= "content">
dfsdfsdfsdfs
</div>
<div class="clr"></div>
</div>
</body>
</html>
И main.css:
PHP:
* {
margin: 0;
padding: 0;
outline: none;
}
body {
background: url("../images/bg1.jpg") no-repeat;
background-size: 100%;
}
a {
text-decoration: none;
}
.b3radius {
border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-moz-border-radius: 3px;
}
#page_align {
width: 1000px;
margin:35px auto 0;
background: #FFF;
box-shadow: 0px 1px 3px #DDD;
-webkit-box-shadow: 0px 1px 3px #DDD;
-o-box-shadow: 0px 1px 3px #DDD;
-moz-box-shadow: 0px 1px 3px #DDD;
}
#header {
height: 35px;
margin-bottom:15px;
}
#vkontakte {
width: 220px;
float: right;
}
#content {
float: left;
}
.clr {
clear: both;
}
