Page is a not externally linkable
matthewamzn - 3:51 am on Sep 29, 2007 (gmt 0)
#container2 { -------------------------------------- <div id="container2">
I have two divs setup in a container div. How can I adjust the container div's height based on the contents of the interior divs?
clear:left;
padding:5px;
}
#container2, #nav1, #search {
background-color:#b2d281;
color:#3b5d14;
font-weight:bold;
}
#nav1 {
float:left;
width:659px;
margin-left:5px;
}
#nav1 li, #nav1 ul {
display:inline;
list-style:none;
}
#search {
float:left;
width:200px;
}
<div id="nav1">
<ul>
<li>Some Navigation Stuff</li>
</ul>
</div>
<div id="search">
Search box is here.
</div>
</div>