Is it possible to set the browser zoom on a webpage I'm making to say 75% automatically on load with javascript? if so how can you do this? I've googled but haven't really found anything. thanks.
Asked
Active
Viewed 6,033 times
0
-
1Why do you need the browser to zoom? – howderek Feb 28 '13 at 20:27
-
Just messing around seeing if it's possible to do – user182 Feb 28 '13 at 20:29
-
possible lie ^ but thanks for linking the page – user182 Feb 28 '13 at 20:32
-
2A lie? how so? your title is "automatic browser zoom on load" and the linked question shows how to do that (I know, I wrote the accepted answer). If your question is significantly different, than you need to edit it to reflect that. – Tim M. Feb 28 '13 at 20:33
-
http://www.css3.com/css-zoom/ – howderek Feb 28 '13 at 20:33
-
here we go.... Thanks for everyone who helped out – user182 Feb 28 '13 at 20:37
1 Answers
1
<meta name="viewport" content="width=device-width">
and in CSS, make the body { width:75%; margin:auto; }
to shrink content and center it.

Casey Dwayne
- 2,142
- 1
- 17
- 32