Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Centering

Status
Not open for further replies.

wlpsyp

IS-IT--Management
Feb 5, 2003
195
US
I have a few web pages. Some use frames and some do not. The boss wants them to be centerd on the screen. Thats fine, but how do I make a page (Frames or no Frames) auto center onto a page depending on resolution? I am needing a way to make a page that will auto center based on the resolution of the screen that the viewer is using. (640x480, 800x600, 1024x768, 1280x1024, etc) Is there a way to make a one page that will auto detect which screen resolution is being used and load that page. I am having problems because of menu bars and such that on one size it looks good, but go to a lower screen resolution and some of it is hidden etc.

THANKS,

Bill
 
The only suggestion I have with what you've said so far is to build the page with a large table first (100% wide) and center the contents.
 
Would that make all the pages center on the screen in relation to the screen size and resolution?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top