'zoom' Example
<html> <body> <div id="myDiv" style="width:100pt; background-color:beige;"> www.java2s.com </div> <button onclick="myDiv.style.zoom='200%'">Zoom 200%</button> <button onclick="myDiv.style.zoom='100%'">Zoom 100%</button> </body> </html>