that certainly works great - the only caveat might be when you have plain text content in a box because you might not be able to guarantee the height, meaning you couldn't reliably do the division to get it perfectly vertically centered...

but outside of that, this is a very cool way to do centering - i've always done it the old table way, but this is much easier...

Thanks for the reply. Now, If I do use this to center the page, what about if I want to position lets say some slices from photoshop using the ABSOLUTE property in that container.

ie.

I have 5 jpg files and one gif file (a logo), and I want to make 5 DIV's that are absolutely positioned in the DIV that is centered on the page as in the example link I gave you. Everything I position inside the main DIV will be centered no matter what the browser size is. Is this a bad practice? I have been reading alot of negative things on using ABSOLUTE positioning in this way. If its a bad practice, I will stick with tables for the layout portion for now. I am in that "Wanting to position with CSS mood" but I dont want to sacrifice alot of other things while doing it. I like the sites on http://www.csszengarden.com and how they are designed and set up to float with the page, or expand on one side, but most of my designs are not like that. I like to "center" my content in whatever kind of frames I use at the moment. Its either going to be the old fashioned way (tables) or the new wave way (CSS-P)... I cant decide =)