You can't if you use position:*** in the child divs. Basically the style other than that can be up to you, but is needs to look something like:
first the big ol daddy div, which hold everything. This one you can position however you want, absolute, relative, top and left em's etc..
Then you have the 3 child divs. You can not use position in these, and they need to be nested together in the HTML. Make one larger than the rest, the second larger than the third.. etc... then in ALL of them float:left;
HTML Code:
<div id="big ol daddy">
<div id="child1">
<div id="child2">
<div id="child3">
</div>
</div>
</div>
</div>
in a nut shell. (no pun intended) and the css:
Code:
#big ol daddy {
text-align: left;
vertical-align: middle;
margin: 0px auto;
padding: 0px;
height: 531px;
width: 804px;
background-color: purple;
//background-image:url(images/bg-lft2.gif);
//background-repeat: no-repeat;
//border: 1px dotted #564b47;
//border: 1px dashed #564b47;
border: 1px solid #81B1D9;
}
#child1 {
width: 600px;
height: 300px;
left:5px;
top:5px;
background-color: #FF9900;
float:left;
}
#child2 {
width: 400px;
left:5px;
top:5px;
background-color: #FF9900;
float:left;
}
#child3 {
width: 100px;
left:5px;
top:5px;
background-color: #FF9900;
float:left;
}
like so, abouts.
Bookmarks