1. Använd [kod] taggen.
2. Vilken webbläsare använder du?
Vad är det för fel på positionerna av dom här divboxarna? Jag kanske är petig men mittboxen sticker ut 1px åt höger av någon skum anledning?
body {background-color: red; }
#sida {
width: 800px;
height: 600px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
}
#sidhuvud {
background-color: gold;
width: 800px;
height: 150px;
border: black 1px solid;
}
#sidhuvud h1 {
margin: 0;
}
#innehallsforteckning {
background-color: yellow;
width: 200px;
height: 400px;
float: left;
border-right: black 1px solid;
border-left: black 1px solid;
}
#mittbox {
background-color: lightgreen;
width: 600px;
height: 400px;
overflow: auto;
float: right;
position: absolute;
}
#mittbox h2 {
margin-left: 40px;
}
#mittbox p {
margin-left: 40px;
}
#fot {
background-color: pink;
width: 800px;
height: 50px;
border: black 1px solid;
}
