Forums

This topic is locked

Auto centering

Posted 09 Dec 2003 22:51:18
1
has voted
09 Dec 2003 22:51:18 D.S. Levy posted:
I would like my page to center itself to my veiwers' browser window no matter what size they have it. How can I do this? A good example of what I want to accomplish is the google frontpage. Change your browser window and "google" centers no matter what. Thanks for the help all!

Replies

Replied 10 Dec 2003 11:56:26
10 Dec 2003 11:56:26 Vince Baker replied:
You must place the contents of your page inside a table. If you set your table to 100% width it will always fill the whole browser window. If you set it for example to 750 pixels it will always appear in the center but at 750 pixels wide. My Home page (link below) uses the later example I explained.

Regards
Vince

Visit my home: www.chez-vince.com

VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 10 Dec 2003 19:51:59
10 Dec 2003 19:51:59 D.S. Levy replied:
Thank you so much. This should take care of the problem. I'll let you know if it doesn't work but I'm sure it will. Thanks again!

Reply to this topic