jamesjmann Posted February 26, 2011 Share Posted February 26, 2011 Is it possible to disable the zoom in a user's browser? Cuz I just designed a template in Photoshop and all of my divs are sized using pixels rather than percents and when I zoom in on it the divs get all messed up and start stacking vertically, so I was wondering if its possible to just disable zoom when the user visits my page. Quote Link to comment Share on other sites More sharing options...
haku Posted February 26, 2011 Share Posted February 26, 2011 Nope. And you shouldn't even if you could - it's bad form to take options out of the users' hands. Anyways, you have nothing to worry about. Users who change the zoom level (myself included) are used to the design on some sites breaking when zooming in. Quote Link to comment Share on other sites More sharing options...
nogray Posted February 26, 2011 Share Posted February 26, 2011 If your site breaks when zooming, it might break when the window size is small. Try to resize the browser window and see if the design holds up. If you want pixel perfect design, you would need to set the widht and height of each div and set the overflow property to either hidden or auto (auto will add scroll bars if there is too much content). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.