Jump to content

controlling space on wide screen monitors


Dkleinen
 Share

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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...