What I would like is to create an inner div (inner1) which will expand
vertically (or the height) to its outer div container (outer). The
outer div does not have a set height but will expand when another div
(inner2) inside outer expands vertically with content. I cannot seem to
get a div to expand vertically when the outer div is NOT set to expand
100%. Anyone know how to do this. I've placed the code below.
<style type="text/css">
/* commented backslash mac hiding hack \*/
..outer {
border: 1px solid #006600;
}
..inner1{
border: 1px solid #CC0000;
padding: 6px;
float: left;
}
</style>
<div class="outer">
<div class="inner1">asdf</div>
<div class="inner2">
asdfasfd<BR />
asdfasdf<BR />
asdf
</div>
</div>