how to define a minimum resolution

Asked

Viewed 160 times

0

Well I am mounting a system in php for box control. It will be a system aimed only for computers, IE will not be responsible.

I created the menu, box information and etc...

This is all 100%, however I noticed that in some computers with low resolution or even if I shrink the window of my browser, some div of the system feature line breaks. Have some way to avoid this, set a minimum resolution and when it is hit hit hit a scroll bar instead of line breaks?

The facebook site does this, as much as you decrease the browser it does not change the positions of the objects and creates a scroll bar.

  • Create a div container (which will wrap all the content), and set a width: 1000px or the fixed size you want it to stay.

  • so I wanted this div with 100% but the minimum would be with:800px. Da to do this? using jQuery sei la hahaha

  • 1

    Then it would be width: 100% and min-width:800px;

  • Jquery kkkk is not yet so much kk

  • hahahhaha vlw I will test here.

1 answer

0

In your css, in the body tag define:

body {
    min-width: 800px;
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.