October 2, 2001 - Zooming In and Out of Elements
October 2, 2001 Zooming In and Out of Elements Tips: October 2001
Yehuda Shiran, Ph.D.
|
STYLE
's zoom
property. In the HEAD
section of this tip, we have the following STYLE
definition:
<STYLE TYPE="text/css">
#example1
{
zoom:50%;
width:100%;
position:relative;
}
#example2
{
zoom:100%;
width:100%;
position:relative;
}
#example3
{
zoom:200%;
width:100%;
position:relative;
}
</STYLE>
The following three DIV
elements demonstrate the effect of different zoom definitions:
Have you read our columns about Print Templates?
Have you read our columns about Print Templates?
Have you read our columns about Print Templates?
Here are the DIV
definitions for the above examples:
<DIV ID="example1">
Have you read our columns about Print Templates?
</DIV>
<DIV ID="example2">
Have you read our columns about Print Templates?
</DIV>
<DIV ID="example3">
Have you read our columns about Print Templates?
</DIV>