Restricting Max Screen Size

I have a website that looks good at 1024 by 768. But when you go to larger screens it looks a little spacy. I was wondering what is the best practice to limit it in larger screen sizes.

You could limit the width of the web page by giving the outermost container inside the body tag a max-width:


.outer {max-width:1024px;}


<body>
<div class="outer">
    the rest of your page code is here
</div>
</body>

Usually then you’d also center it with automargins just to stop it from lookin weird

Oops, you just answered the advanced question in advance. :shifty:

Off Topic:

A belated Merry Christmas and Happy New Year, @Stomme_poes :slight_smile: