whizard
01-27-2005, 07:17 PM
Hi
I am developing a page best fit for 1024x768 screen resolutions, but I want 800x600 screens to work with it too. Therefore, I have the content only 760px wide, so that on an 800x600 screen, it fills the entire browser window, but on 1024x768, there is gray space around the edges. I want to center the table that holds all my content, but I don't want to use absolute positioning, because I want the page always to be centered, even if the window isn't maximized all the way. The reason I don't just use align=center in the table tag, is that I want the page to be XHTML Strict, which doesnt allow the align attribute.
Dan Barr
I am developing a page best fit for 1024x768 screen resolutions, but I want 800x600 screens to work with it too. Therefore, I have the content only 760px wide, so that on an 800x600 screen, it fills the entire browser window, but on 1024x768, there is gray space around the edges. I want to center the table that holds all my content, but I don't want to use absolute positioning, because I want the page always to be centered, even if the window isn't maximized all the way. The reason I don't just use align=center in the table tag, is that I want the page to be XHTML Strict, which doesnt allow the align attribute.
Dan Barr