Moomancow
05-21-2003, 10:24 PM
Here's one for all you HTML wizards...(then again, it might be really easy and simple, shows how much I know!)...
How can I center my content, so that when a person with a screen resolution of 1024 X 768 views a web site, it is centered on their screen, with equal amounts of blank space on the left and right side of the content?? It would be designed so it is centered in a screen of 800 X 600 resolution also, but you wouldn't be able to tell it was centered, because the content would take up this entire screen resolution.
Currently, I only know how to design a page left aligned, and when viewed through a 800 X 600 it looks great : it takes up all the screens real estate. However, when viewed through a 1024 X 768 screen resolution, my design left aligns the content and leaves alot of blank space on the right hand side of the screen. I think this looks bad.
Any ideas on how to center my content? It better not be so simple as to just encapsulate all my content in a <center> and </center> tag.
Thanks for any help in advance!
How can I center my content, so that when a person with a screen resolution of 1024 X 768 views a web site, it is centered on their screen, with equal amounts of blank space on the left and right side of the content?? It would be designed so it is centered in a screen of 800 X 600 resolution also, but you wouldn't be able to tell it was centered, because the content would take up this entire screen resolution.
Currently, I only know how to design a page left aligned, and when viewed through a 800 X 600 it looks great : it takes up all the screens real estate. However, when viewed through a 1024 X 768 screen resolution, my design left aligns the content and leaves alot of blank space on the right hand side of the screen. I think this looks bad.
Any ideas on how to center my content? It better not be so simple as to just encapsulate all my content in a <center> and </center> tag.
Thanks for any help in advance!