html, body {
background-color: darkgray;
margin: 0 auto;
text-align: center;
font-family: 'Times New Roman';
padding: 0;
}
#content{
background-color: darkblue;
width:1200px;
margin: 0 auto;
position: relative;
padding-bottom:30px;
padding-top:30px;
}
#header {
width: 1140px;
margin-left: 30px;
margin-right: 30px;
float: left;
}
#menu {
background-color:#85b1db;
width: 200px;
float: left;
overflow: hidden;
float: left;
height: 600px;
margin-left:30px;
margin-top:10px;
}
#info {
width: 200px;
float: left;
overflow: hidden;
background-color:#85b1db;
height: 600px;
margin-right:30px;
margin-top:10px;
}
#main {
background-color:#85b1db;
margin-top:10px;
width:720px;
float: left;
height: 600px;
}
#stopka {
clear: both;
background-color: #85b1db;
margin:0 auto;
margin-top:10px;
width: 1140px;
}
<img src="grafika/logo.gif">
<iframe name="I1" id="I1" src="podstrony/stronaglowna.html" width="720px" height="100%" height="100%" border="0" frameborder="0" target="_blank">
jak chcesz żeby elementy div były obok siebie to zwróć uwagę na to żeby obejmujący je div miał takie wymiary żeby pomieścić to co ma w środku. W wymiary wlicza się też margin i padding więc jeśli masz diva który ma
div
{
width: 400px;
padding: 0 100px;
margin: 0 100px;
}
to rzeczywista szerokość diva wynosi 800px (do tego dolicza się jeszcze border jeśli jest).
mały "tutek"
http://w3schools.com/css/css_boxmodel.asp.