Div NOT taking more than 100% space

It demonstrates a div that is NOT taking up more than 100%. Notice the absence of the horizontal scroll bar below.

The difference/solution is to set the inner div with width: auto.