|
First of all, lose all the absolute positioning, it's not necessary, it can cause problems in IE6 (and below), and most of all, it's just NOT necessary. Learn to use the normal document flow and floats.
To center a container in STANDARDS COMPLIANT browsers you do this:
#container{width: XXXpx; margin: 0 auto;}
That's it, you MUST assign a width and the margin: 0 auto sets the top and bottom margins to 0 and the left and right to auto -- centered!
You'll never get proper centering with the absolute positioning that DW uses - badly!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
|