Originally Posted by audiomad
or simply use this
Originally Posted by LadynRed
It's not ALWAYS that simple.. and as you can see if you read the articles, there are many different solutions.
Isn't that like all you neeed?... It's the only one I know, and has never failed me. XP
As I stated, there are many solutions depending on what you're trying to accomplish and how your layout is done. Most of the time the margin:0 auto with a width is all that's needed to horizontally center a layout. Some people want to center vertically too, and others who use absolute positioning for everything may not be able to use this simple solution. So.. it depends!
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!