Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting minimum size limit for a window minimization of browser?

Tags:

Is there a way to manually set the minimum size of a browser window across all browsers?

like image 560
Human Being Avatar asked Apr 23 '13 15:04

Human Being


People also ask

How do I reduce the size of my browser window?

* Press Alt+Space to bring up the window menu, press S to choose the Size option, use the arrow keys to resize the window, and lastly Enter to confirm. * Click the Maximize button in the top right corner of the window. * Click the title bar and drag the window to the left, top, or right edge of the desktop.

How do I stop a browser window from resizing after a specific size?

You can not control the size of the window. You can use CSS to set min-width and min-height properties to ensure your page layout stays sane. using 'window. open' I can open a page with a fixed height width.

What is the minimum width of Chrome browser?

Although there are posts about similar issues, Chrome limits the browser window size to a large minimum size of a whopping 500 pixels.

How do I open a browser window from a specific size?

There are two ways you can do this: Using a div, iframe, or other element to contain everything on your page and specify the size on it. This won't change the actual size of the browser window. Open a new window (popup) and specify a size on that.


1 Answers

You can try

body {  min-width:600px; }

You will get a horizontal scrollbar once the viewport gets less than 600px. This will work in only modern browsers supporting min-width CSS property.

I don't think it is possible to restrict user from resizing, and it shouldn't be!

like image 59
Gurpreet Singh Avatar answered Sep 19 '22 05:09

Gurpreet Singh