Имам два дива как да ги направия като се намали браузера дивовете да не са един върху друг а един до друг?
[css]html {
height:100%;
background: url(http://vivaaa.netau.net/Untitled-12.gif) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
body {
text-align: center;
}
.p {
position:static;
margin-left:auto;
margin-right:auto;
height:700px;
width:760px;
background:#0000FF;
margin:0 auto;
margin-top: 273px;
}
.m {
margin-left:3px;
height:700px;
width:400px;
background:red;
margin-top: -666px;
} [/css]
[css]html {
height:100%;
background: url(http://vivaaa.netau.net/Untitled-12.gif) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
body {
text-align: center;
}
.p {
position:static;
margin-left:auto;
margin-right:auto;
height:700px;
width:760px;
background:#0000FF;
margin:0 auto;
margin-top: 273px;
}
.m {
margin-left:3px;
height:700px;
width:400px;
background:red;
margin-top: -666px;
} [/css]