meta viewport for desktops/laptops

Hi Experts,

Recently I found the following code, which resizes my page on my iPad and on iPhone wonderfully.
<meta name="viewport" content="width=1525" />

Open in new window


I am wondering is there a equivalent code to this for desktops/laptops, including Mac laptops?

Thank you
APD TorontoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Below is the generic code I started using last week.  It seems to prevent the mobile browsers from auto-scaling the page into something too small to read.  You can change the scale to what ever you want.  I use it on my browser info page so the scales are correct.  http://www.dibsplace.com/webdev/browserinfo.html
<meta name="viewport" content="width=device-width, initial-scale=1">

Open in new window

0
APD TorontoAuthor Commented:
I want it opposit. I want if the Page width is large, to Auto reduce even on desktop
0
Dave BaldwinFixer of ProblemsCommented:
One of my customers has set the scale to '.5' on desktop pages but it doesn't seen to have any effect.  But then none of the pages are large than the screen width on my computer so I don't know what effect that has.  So far, 'viewport' only seems to work on mobile browsers.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Dave BaldwinFixer of ProblemsCommented:
I created http://www.dibsplace.com/webdev/browserinfo5.html with scale=.5 and http://www.dibsplace.com/webdev/browserinfo800.html with width=800.  Neither has any effect in Firefox.
0
Dave BaldwinFixer of ProblemsCommented:
The Google and Mozilla docs on 'viewport' refer Only to mobile browsers and this page http://www.quirksmode.org/mobile/metaviewport/ lists Only mobile browsers.  It doesn't look like it will work in Desktop browsers.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
APD TorontoAuthor Commented:
Thanks!
0
Dave BaldwinFixer of ProblemsCommented:
You're welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.