I'm working on the following HTML structure:
<div id="container">
<div id="content"></div>
</div>
The container div is set at a width of 1050px and has a shadow background that repeats vertically.
The content div is 950px wide, centered horizontally within the container div, and contains the actual content.
My goal is to have a horizontal scroll bar only appear if the browser window is smaller than the content div, without causing one for the container div. How can I achieve this?
I have tried using overflow-x:hidden but it didn't work as expected.
Thank you in advance!