| zoom | NN n/a IE 5.5(Win) CSS n/a |
| Inherited: No | |
Controls the magnification of rendered content. This is particularly useful for output that might be displayed on monitors with very high pixel density. See screen.logicalXDPI property in Chapter 9. |
|
| CSS Syntax | |
zoom: scale | percentage | normal |
|
| Value | |
Magnification can be denoted as a floating-point numbe, a scaling factor (1.0 is normal), or a percentage (100% is normal). |
|
| Initial Value | |
normal |
|
| Example | |
body {zoom:200%}
|
|
| Applies To | |
All elements. |
|
| Object Model Reference | |
[window.]document.getElementById("elementID").style.zIndex
|
|