nu de div's nog achter elkaar plaatsen

Status
Niet open voor verdere reacties.

KREEFTMEIJER

Gebruiker
Lid geworden
14 sep 2010
Berichten
188
Zoals je op de site kan zien, heb ik binnen de tv, bovenaan een blauw vlak,
daaronder een rood , daarnaast wil ik de gele, die floept nu buiten mijn vlak.
De CCS is
Code:
body {
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
background-color: #FFF;
}
#total {
background-color: #FDD3A6;
width: 800px;
margin-right: auto;
margin-left: auto;
text-align: left;
}
#header {
height: 30px;
width: 1000px;
text-align: center;
background-color: #FFF;
}

#centerContent {
float: left;
width: 960px;
height: 600px;
padding: 5px;
margin-top:41px;
background-image: url(images/lap960.jpg);
background-repeat: no-repeat;
background-color: #FFFFCC;
}

#container-example1
{
font-family: fantasy, "Courier New", Courier, monospace;
font-size: 32px;
font-weight: bolder;
color: #6495ED;
background-color: #00008B;
width: 731px;
height: 30px;
margin-left: 120px;
margin-top: 41px;
}
#container-example2
{
font-family: fantasy, "Courier New", Courier, monospace;
font-size: 32px;
font-weight: bolder;
color: #6495ED;
background-color: red;
width: 600px;
height: 480px;
margin-left: 120px;
margin-top: 0px;
}
#container-example3
{
font-family: fantasy, "Courier New", Courier, monospace;
font-size: 32px;
font-weight: bolder;
color: #6495ED;
background-color: yellow;
width: 100px;
height: 380px;
margin-left: 0px;
margin-top: 0px;
float: right;

}

Staat op www.henk.kreeftmeijer.nl

Wat gaat hier fout.

Henk
 
Laatst bewerkt door een moderator:
Goedendag,

U bent vergeten om bij het rode vlak (container-example2) float op left te zetten,
U moet ook de float van container-example3 op left zetten

m.v.g, John
 
Hartelijk dank, het is gelukt.
Had dit ook al geprobeerd, maar vermoedelijk een foutje gemaakt.

Henk
 
Goedendag,

Mooi dat het gelukt is, en succes met u website verder!

m.v.g, John
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan