|
Put your layout inside a main "wrapper" div if you haven't already.
Then, on that #wrapper, in the CSS add this:
#wrapper{
width: xxxpx /* has to have a width defined, use em % or px*/
margin: 0 auto; /*sets top and bottom margins to 0, left and right to auto */
}
That works for the more standards-compliant browsers. To make IE center add this:
body{text-align: center;}
Then you'll have to add text-align: left to your #wrapper to re-set the text.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|