Facing an issue with setting a max-width that is actually respected on the published side. This web-build is slightly complicated with numerous moving parts and animations.
As far as the Navigator goes and the different containers and divs I have, that is minimal and should be easy to understand and navigate.
- I’ve placed the Container in a DIV
- I’ve set the max-width to 1920px
- I’ve centered all elements in that DIV with auto set to right and left
Still nothing works. When the website is viewed on a larger screen, all the content inside the div and the container just spill out to the edges. But I want it all to stay at a max of 1920px wide.
What am I doing wrong?
The reason I would like to limit it is because the website just breaks as soon as it’s bigger. I’d rather restrict it to the appropriate size than to try and figure out why everything breaks when viewed in a larger screen.