Is there a CSS Code for Page Zoom?
-
okolox last edited by
Is there s CSS code that mimics Opera's page zoom? I know about the page zoom feature in Opera. But I would still like to know code. Do let me know guys.
-
okolox last edited by
In CSS3 it is the zoom property:
- { zoom:300%}
Hi gwen-dragion. That code doesn't work in Opera. Are you sure its correct? Just to let you know, I used it in the following format in Stylish:
- { zoom:300% !important;}
It doesn't work. the 'zoom' is rendered in red in Stylish, meaning that its not a code it recognizes. Let me know your further suggestions.
You also mentioned CSS3. I've used regular CSS, so I'm not familiar with CSS3. What exactly is this?
-
lando242 last edited by
Zoom is a kludge and not part of the standard. It is supported in some browsers but not all and is not recommended for general purpose websites.
Look into Transform, specifically Scale.
-
Deleted User last edited by
Zoom is a kludge and not part of the standard. It is supported in some browsers but not all and is not recommended for general purpose websites.
Yes, zoom property is not available on all browsers.
But the treadstarter did not ask for CSS3 and browser comaptibility.
Look into Transform, specifically Scale.
Dow not work correctly on Opera 12
It doesn't work. the 'zoom' is rendered in red in Stylish, meaning that its not a code it recognizes. Let me know your further suggestions.
body { zoom: 2 }
works in Opera 26.
-
okolox last edited by
Look into Transform, specifically Scale.
Dow not work correctly on Opera 12
@okoloxIt doesn't work. the 'zoom' is rendered in red in Stylish, meaning that its not a code it recognizes. Let me know your further suggestions.
Hi, gwen-dragon. So are you saying that Transform doesn't work at all in Opera 12? Or, that it doesn't work correctly in it? if Transform doesn't work in Opera 12, what are my other options do you think?
-
Deleted User last edited by
So are you saying that Transform doesn't work at all in Opera 12? Or, that it doesn't work correctly in it? if Transform doesn't work in Opera 12, what are my other options do you think?
Sorry, transform is buggy in Opera 12. See http://www.opera.com/docs/specs/presto2.12/css/transforms/