Posted - 11/27/2023 : 11:47:35
The advice above is valid, but I'm not so sure that it's a good idea. You would do better to contain the content at a pixel width where it still looks good, or build a media query/queries that will present a different layout for much bigger viewports. If you wind up with a bunch of white space either side you can always fill it with color or a light tiled pattern so it doesn't look so stark. Contradicting myself here I will say that people who use large displays tend to tile it with a few small windows, rather going full screen with a single browser window, but if they do here's what your site now looks like on an Apple Studio Display 27", for example https://app.screencast.com/yN1DOi1cJT4KARetarded, right? Modern browsers make it easy to test different viewports for mobile usability, but that works for bigger displays too so you can figure out where the layout starts to fall apart and set your max pixel width a bit before that. tl;dr - define your container with a pixel width so you can control the edge cases, not a percentage of an unknown resolution. Peter Professional ecommerce web hosting services Shared hosting Windows & Linux | Dedicated servers | Domains | SSL Ecommerce Templates specialists since 2003 https://servelink.com
|