Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set default zoom for web page programmatically?

Tags:

html

css

php

Is it possible to set the default zoom level on a site? For instance, could I code my site in such as a way that it is zoomed to 125% when a user opens it?

My website body has this code

<body ID="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}"> 

How to put this zoom code inside?

like image 229
user1820652 Avatar asked Nov 20 '12 08:11

user1820652


People also ask

How do I change the page zoom on my screen size?

Select "Zoom," then click "Zoom In" to enlarge the website or "Zoom Out" to reduce its size. Each time "Zoom In" or "Zoom Out" is clicked, it will increase or reduce the magnification an additional level. Continue adjusting the "Zoom" option until the page is displayed to your liking.


1 Answers

Add zoom: 125%; to body style

body {
color: #536482;
background-color: white;
zoom: 125%;
}
like image 176
Sowmya Avatar answered Oct 10 '22 01:10

Sowmya