Take a look at this example:
This demo features an outer div that is 200px wide to set the page width. Inside, there is an inner div that is 400px wide, but with negative margins of -100px on both sides.
The goal here is for the browser to recognize the total content width as 200px, not 400px. However, when the window is resized to less than 400px, horizontal scrollbars appear. What could be causing this unexpected behavior?