Thread
:
The difinitive CSS centering?
View Single Post
10-04-2007, 06:26 PM
#
6
Tom
Status:
I Code Things
Join date:
Aug 2005
Location:
UK
Expertise:
Software:
Posts:
1,998
iTrader:
14
/ 100%
Originally Posted by
.com
div { width: xxxpx; margin: 0 auto }
Works in IE, Firefox, Opera, and Safari
Thats actually right an a correct/update on daz's method. The margin:0 auto; does need a width.
Tom
View Public Profile
Visit Tom's homepage!
Find More Posts by Tom