I have a <div> called "bottom" which holds 2 divs together. The 2 divs inside are "manufacturers" and "main" which are located side by side with each other. What I want is that the <div id="bottom"> must be auto resizable when either the two divisions expands (the <div id="main"> lists down all the available products that is why it also has an auto height). The problem is that when I use a float property or a "display: inline" property in the main and manufacturers divs it overrides the bottom div causing it not to expand.
here's my css code:
#bottom{
    padding: 1.5em;
    margin: auto;
    margin-top: 3.7em;
    margin-bottom: 5em;
    background-color: white;
    width: 67em;
    height: auto;
}
#manufacturers{
    padding: 1em;
    width: 13em;
    height: auto;
    border: 1px solid #CFCFCF;
    font-size: 17px;
    float: left;
}
#main{
    float: right;
    padding: 0.5em;
    width: 47em;
    height: 10em;
    background: blue;
    position: relative;
    display: inline;
}
 
     
     
     
    