How To Stop The Browser Window From Resizing After A Specific Size
How to give a minimum width to the browser window, so that the user can't make it smaller after a specific size. But he can make it larger than that. Something like applying the 'm
Solution 1:
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.
Solution 2:
You wont be able to affect the client size browser window with CSS. The CSS min/max widths will stop the content from 'shrinking' beyond a certain point, but you cannot (rightly so) prevent the user from controlling the size of their own browser.
You may be able to do it using JavaScript, but then you need to ask the question WHY are you doing this - if its for a design then I'd seriously question the quality of the design.
Post a Comment for "How To Stop The Browser Window From Resizing After A Specific Size"