Javascript Reference
Categories: STYLE

javascript STYLE zoom

@March 15, 2008, 1:22 a.m.
zoomFirefox/Netscape/NN n/a IE 5.5(Win) Chrome/Safari/DOM n/a  

Read/Write  

Governs the magnification of rendered content. Particularly useful for output that might be displayed on monitors with very high pixel density. See screen.logicalXDPI property.

 
Example
 
document.body.style.zoom = "200%";
 
Value

Percentage value (where 100% is normal), floating-point multiplier (where 1.0 is normal), or constant normal.

 
Default

normal


Powered by Linode.