Preserve positioning of HTML page when window minimized

rajprashanth r picture rajprashanth r · Jan 29, 2011 · Viewed 27.9k times · Source

I have a problem with my page.
Whenever I minimize the window the positioning of all the elements goes off and things get distorted.

Answer

Arseny picture Arseny · Jan 29, 2011

If the elements go off their position when you make your browser window too small, use the CSS min-width property. It makes the web browser show the scroll bar instead of trying to shrink the web page.

Like this:

body {
    min-width: 700px;
}