I'm attempting to align 2 divs next to each other within another div, creating 2 columns of text with the outer div forming a border around both:
HTML
<div id="outer">
<div id="left">
...
<div id="right">
</div>
CSS
#outer{
background-color:rgba(255,255,255,.5);
width:800px;
}
#left{
float:left;
}
#right{
width:500px;
float:right;
}
However, the outer div is showing a height of 0px causing the border not to enclose the other divs. How can I make the outer div acknowledge the heights of its contents?