Automatic scaling effect.
Here's the code: <title>nice and free CSS Template 3</title> <style type= "text/css" media= "screen" ><!-- /* Body und schrift Deffinitionen * * HTML { padding:0px; margin:0px; } Body { Background-color: #e1ddd9; font-size:12px; Font-family:verdana, Arial, Sunsans-regular, Sans-serif; Color: #564b47; padding:0px; margin:0px; } A Color: #ff66cc; font-size:11px; Background-color:transparent; Text-decoration:none; } Pre { Color: #564b47; font-size:11px; Background-color: #e1ddd9; Font-family:courier, Monaco, monospace; } P,H1, H3, pre { padding:5px 15px; margin:0px; } h3 { font-size:13px; Text-transform:uppercase; Color: #564b47; Background-color:transparent; } /* Positioning-layers Dynamisch * * #logo { Position:absolute; right:2%; width:96%; Text-align:right; top:20px; } #left { Position:absolute; left:2%; width:22%; top:106px; Background-color: #ffffff; } #content { Position:absolute; left:25%; width:50%; top:106px; Background-color: #ffffff; Overflow:auto; } #right { Position:absolute; left:76%; width:22%; top:106px; Background-color: #ffffff; Overflow:auto; } #right, #content, #left { border:1px solid #564b47; padding:0px; margin:0px; } --></style> <body> <div id= "Left" > <pre> #left { Position:absolute; left:2%; width:22%; top:106px; Background-color: #ffffff; } </pre> <p>these pages use certain CSS definitions this are unsupported by older BROWSERS.<BR <a href= "/" >more nice and free CSS templates</a></p> <p> <br/> <br </p> <br/> <br/> </div> <div id= "Content" > <pre> #content { Position:absolute; left:25%; width:50%; top:106px; Background-color: #ffffff; Overflow:auto; } </pre> <p>with Overflow:auto; With overflow:you can determine how overflowing content should to be treated.</p> <pre> Visible = the element gets expanded to show the entire content. Hidden = The content would be cut if it overflows. Scroll = The browser should offer scroll bars. Auto = The browser should decide to render the element. Scroll bars are allowed. </pre> <p>older browsers don't know support this property.<br/> IE does not support overflow:visible</p> <br/> <br/> </div> <div id= "Right" > <pre> #right { Position:absolute; left:76%; width:22%; top:106px; Background-color: #ffffff; Overflow:auto; } </pre> <p>use of this Code encouraged! (O_.) /</p> <br/> <br/> </div> </body> |
below is the HTML scripting Effects code, click the Run button to see the effect:
[Ctrl + a All SELECT Tip: You can modify some of the code first, and then press run the