Ich brauche eine div
Struktur auf diese Weise zu schaffen gemacht:Wie Sie sich richtig ein div in Spalten aufgeteilt und Reihen
Dies ist, was ich getan habe:
body {
background-color: #e9e9e9;
}
p {
margin: 0
}
#all {
background: black;
}
#left {
float: left;
padding: 5px;
background: blue;
width: 200px;
}
#leftUp {
opacity: 0.8;
background-color: pink;
width: 100%;
height: 50%;
padding: 5px;
}
#leftDown {
opacity: 0.8;
background-color: indigo;
width: 100%;
height: 50%;
padding: 5px;
}
#center {
display: inline-block;
padding: 5px;
background: red;
width: 620px;
}
#centerUp {
opacity: 0.8;
background-color: orange;
width: 100%;
}
#centerDown {
opacity: 0.8;
background-color: yellow;
width: 620px;
height: 620px;
}
#right {
float: right;
padding: 5px;
background: green;
}
#rightUp {
opacity: 0.8;
background-color: #9ACD32;
width: 100%;
height: 50%;
}
#rightDown {
opacity: 0.8;
background-color: #00FF00;
width: 100%;
height: 50%;
}
<div id="all">
<div id="left">
<div id="leftUp">
<div id="selector">
<form id="abcd">
<input type="radio" name="ab" value="Bringing Down the House" checked>Bringing Down the House
<br>
<input type="radio" name="ab" value="Metropolis">Metropolis
<br>
<input type="radio" name="ab" value="Fight Club">Fight Club
<br>
<input type="radio" name="ab" value="Ciclope Festival">Ciclope Festival 2014
<br>
<input type="radio" name="ab" value="The Long Kiss Goodnight">The Long Kiss Goodnight
<br>
<input type="radio" name="ab" value="Date Night">Date Night
<br>
<input type="radio" name="ab" value="The Slums of Beverly Hills">The Slums of Beverly Hills
</form>
</div>
</div>
<div id="leftDown">
<p>Hi, I'm leftDown, hi, I'm leftDown, hi, I'm leftDown, hi, I'm leftDown, hi, I'm leftDown, hi, I'm leftDown</p>
</div>
</div>
<div id="center">
<div id="centerUp">
<p>Hi, I'm centerUp</p>
</div>
<div id="centerDown" with="620px" heigth="620px">
<p>Hi, I'm centerDown</p>
</div>
</div>
<div id="right">
<div id="rightUp">
<p>Hi, I'm rightUp</p>
</div>
<div id="rightDown">
<p>Hi, I'm rightDown</p>
</div>
</div>
</div>
Was ich bekomme ist anders als was ich möchte. Warum? Wie kann ich reparieren?
Wenn möglich, möchte ich alle diese divs
behalten, weil ich sie brauche (ich muss einige Informationen hinzufügen).
eine sehr schnelle Demo mit [Positionierung ] (https://jsfiddle.net/zrrpa428/2/) – jbutler483