Jump to content

controlling space on wide screen monitors

Recommended Posts

I've just written a couple of simple websites with just HTML and I've noticed that the browsers stretch the content to fill the widescreen monitors. This w3schools page is also stretched all the way across my big screen.How can I control the width, so the page maintains the same look that I had before widescreen monitors, which would leave blank spaces on the sides?

Link to post
Share on other sites

or, if you have no width set, but are using a div, know that a div will automatically widen to fill the width of its parent container. In which case, do like real illusions said and put a pixel width on your div, or make it a value less than 100%.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...