get container div to auto fit its content
Posted on 2007-11-27
I have a div containing another div. the inner div has a fixed width setting, width=814px.
I want the out div to hug the inner div. I tried <div id="outer" style="width:auto;">, but it had no effect. it is still a bit wider than the inner one. did I do this wrong?