Hallo, ich sehe im Moment den Wald vor lauter Bäumen nicht mehr,
weswegen ich um hilfe bitten möchte.
So soll mein vorhaben mit CSS umgesetzt werden:
So versucht habe ich es mit mehreren Divs von einem Beispielquellcode ...
Die CSS Datei dazu:
Wenn ich eine boxB unter die boxA setze, dann landet die boxC rchts oben, wenn ich aber drei mal boxB neben einander unter der boxA setzen will, dann landen alle 4 kleinen Boxen rechts neben der boxA.
Hoffentlich kann mir jemand helfen.
Vielen Dank im Vorraus
flo
weswegen ich um hilfe bitten möchte.
So soll mein vorhaben mit CSS umgesetzt werden:
Code:
---------Box A ---------------------------- -----Box C----
------Text Box A-------------------------- ---Text C-----
---Text C-----
---Box B1--- ---Box B2--- ---Box B3--- ---Text C-----
---Text B1-- ---Text B2-- ---Text B3-- ---Text C-----
Code:
<div id="container"> <div id="smallbox"> <div class="boxhead" id="boxA"> TabA </div> <div class="boxcontent" id="boxA"> Einigung </div> <div id="smallboxA"> <div class="boxhead" id="boxB"> Tab1a </div> <div class="boxcontent" id="boxB"> dddd </div> </div> <div id="smallboxA"> <div class="boxhead" id="boxB"> Tab1b </div> <div class="boxcontent" id="boxB"> dddd </div> </div> <div id="smallboxA"> <div class="boxhead" id="boxB"> Tab1c </div> <div class="boxcontent" id="boxB"> dddd </div> <br style="clear:both;"></div> </div> <div id="smallbox"> <div class="boxhead" id="boxC"> TabC </div> <div class="boxcontent" id="boxC"> xxxxxxxx </div></div> </div>
Code:
div#container{
width: 990px;
margin:0 auto 0px;
padding:0px;
text-align: left;
overflow: hidden;
}
div.boxhead{
margin-top:20px;
width:624px !important;
width:624px;
height: 19px !important;
height: 19px;
border:solid 2px #3578B5;
border-bottom:solid 1px #3578B5;
background-color: #E5ECF9;
padding-top:2px;
padding-left:3px;
padding-right:3px;
position: relative;
left: 10px;
font-weight:bold;
}
div.boxcontent{
width:624px !important;
width:624px;
background-color: #fff;
text-align:left;
border:solid 2px #3578B5;
border-top:none;
position: relative;
left: 10px;
padding: 3px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
}
div#boxA{
width: 729px !important;
width: 729px;
float:left;
clear:left;
}
div#boxB{
width: 237px !important;
width: 237px;
margin-left: 10px;
float:left;
clear:left;
}
div#boxC{
width: 230px !important;
width: 230px;
margin-left: 10px;
float:left;
clear:left;
}
div#smallbox{
float:left;
}
div#smallboxA{
float:left;
}
Hoffentlich kann mir jemand helfen.
Vielen Dank im Vorraus
flo
Moderator
Kommentar