Kelly Moore wrote: > I'm trying to center navigation tabs, within a header section. > Somehow the tabs are still stuck to the left. > > I'm using the following CSS: > > width: 600px; > margin-left:auto; > margin-right:auto; > float:left; > > Any ideas of what i'm doing wrong?
A floated box is shifted to the left, and the used value for margin:auto is 0 in this case. You cannot center a float. Ingo -- http://www.satzansatz.de/css.html http://www.dolphinsback.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/