|
June 2, 2000 The zoom Property Tips: May 2000
Yehuda Shiran, Ph.D.
|
|
Internet Explorer 5.5 and up allows you to enlarge or shrink an object in your page by the zoom property. You just need to set the property as follows:
where magnification can be one of the following:
You can apply this property to any object. For example, we made the paragraph you are reading now larger by a factor of 1.27. You need to identifiy the paragraph by an ID attribute, and then assign its zoom property in a JavaScript script. The paragraph looks like this: and the JavaScript script looks like this:
People who read this tip also read these tips: Look for similar tips by subject: |