While I could use a div
container to solve this issue, I'm exploring the possibility of achieving it without one.
My goal is to create a layout that is flexible between 640px and 1280px, but remains fixed beyond that range. The colored div I have currently spans the entire width using 100%
, and I want that color to extend all the way across the browser window even if it's enlarged past 1280px. However, I want the content to remain centered on the page with a maximum width of 1280px.
I hope this explanation is clear.
To avoid issues with font size changes shifting objects around, I am not interested in using a repeating background image.