Здесь, я думаю, что это то, что вы хотели
http://jsfiddle.net/DIRTY_SMITH/q48cospu/11/
@import url("font-awesome.min.css");
@import url("http://fonts.googleapis.com/css?family=Roboto+Condensed");
@import url("http://fonts.googleapis.com/css?family=Open+Sans");
header, nav, aside, section, footer
{
}
body
{
font-family: 'Open Sans', sans-serif;
background: #f0f0f0;
font-weight: 300;
}
header
{
background-color:yellow;
}
nav
{
background-color:orange;
}
section
{
background-color:yellowgreen;
width: 60%;
margin-left: 10%;
}
footer
{
background-color:deepskyblue;
}
article
{
}
aside
{
background-color:blue;
width: 20%;
}
.box-header
{
border: 1px solid none;
border-radius: 10px 10px 0px 0px ;
-moz-border-radius: 10px 10px 0px 0px ;
-webkit-border-radius: 10px 10px 0px 0px ;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
padding: 5px;
}
.box-nav
{
border: 1px solid none;
border-radius: 0px 0px 10px 10px ;
-moz-border-radius: 0px 0px 10px 10px ;
-webkit-border-radius: 0px 0px 10px 10px ;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
padding: 5px;
}
.box-section
{
border: 1px solid none;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
padding: 5px;
float: left;
}
.box-sidebar
{
border: 1px solid none;
border-radius: 5px ;
-moz-border-radius: 5px ;
-webkit-border-radius: 5px ;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
padding: 5px;
float: left;
}
.box-footer
{
border: 1px solid none;
border-radius: 5px ;
-moz-border-radius: 5px ;
-webkit-border-radius: 5px ;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
padding: 5px;
clear:both;
}
Приятное спасибо. Но возможно ли, что синий и зеленый ящик находится в центре стороны? – TheTrashinger
Вы хотите сосредоточить их на странице по горизонтали? –
@ TheTrashinger вот так? http://jsfiddle.net/DIRTY_SMITH/q48cospu/11/ –