auto resize

What makes one make an affiliate site resize like this In the event you drag the corner of this browser window to change the dimensions, the site automatically adjusts to suit.

http: //www. ericogden. com

Examine the code underneath.

In essence, you set that width and elevation to 100% meaning that if it will get resized it must be 100% of what it may be (the size in the resized window).

HTML:
< html>

< head>

< title> resize< /title>

< type type=" text/css" >

physique

height: 100%;


#content

elevation: 100%;
text-align: core;


< /style>

< /head>

< body>

< div id=" content" >
< dining room table width=" 100%" height=" 100%" >
< tr align=" center" valign=" middle" >
< td> Hello< /td>
< /tr>
< /table>
< /div>

< /body>

< /html>

That page specially is Flash where the component is set to utilize the entire viewport, which is why it doesn’t only center, but this scales.

That didn’t improve me.
: unhappy:

That’s a little bit advanced for me at the moment, but if you could have words of wisdom on how to attract to this place; that would end up being awesome!

What does one mean by it didnt work with you

If I know you correctly you wish some content to stay in the middle of the screen (both flat and vertically).

That is definitely what the fastened file does.

I input this code in but the content never scaled. I’ll try this again and see what I did wrong.

The scaling can be a Flash feature, the code I gave would not scale the document’s content because the window is resized. This just keeps this centered.

See attached image.

That is certainly awesome, where in Flash does one apply that feature and how.

This entry was posted in Web Design and tagged , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *