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!
More Related Contents:
- 5 stars and the golden 5 stars are not together (When browsing with Internet explorer)
- How to force browser to show image 3 inches wide?
- Disabling browser print options (headers, footers, margins) from page?
- Is there a way to make text unselectable on an HTML page? [duplicate]
- Prevent zoom cross-browser
- How to make Internet Explorer emulate pointer-events:none?
- How to trigger CSS “hover state” using Javascript? [duplicate]
- Browsers automatically evaluate hex or hsl colors to rgb when setting via element.style.background?
- How do I dynamically adjust css stylesheet based on browser width?
- Is it possible to disable Ctrl + F of find in page?
- Download the text over image using jquery
- Communication between tabs or windows
- Replacing css file on the fly (and apply the new style to the page)
- How to autosize a textarea using Prototype?
- OnChange event handler for radio button (INPUT type=”radio”) doesn’t work as one value
- How to change CSS property using JavaScript
- How to silently hide “Image not found” icon when src source image is not found
- Setting CSS value limits of the window scrolling animation
- HTML – how can I show tooltip ONLY when ellipsis is activated
- HTML Table with vertical rows
- Using querySelectorAll to change the style property of multiple elements
- What are the possible ways to hide an element via CSS [closed]
- Google Maps API v3: InfoWindow not sizing correctly
- What are some good ways to prevent people from copying my source code? [closed]
- Scroll Position of div with “overflow: auto”
- Auto Mobile Site Redirect
- Styling Vuetify selectors
- How to Bootstrap navbar static to fixed on scroll?
- How to use pagination on HTML tables?
- How can I reorder elements with JavaScript?