Liquid-Fire Posted May 13, 2006 Share Posted May 13, 2006 Ok i forgot what is used to center a whole section like a div section? Quote Link to comment https://forums.phpfreaks.com/topic/9613-solved-centering-question/ Share on other sites More sharing options...
moberemk Posted May 13, 2006 Share Posted May 13, 2006 [code]margin-left: auto;margin-right: auto;[/code] Quote Link to comment https://forums.phpfreaks.com/topic/9613-solved-centering-question/#findComment-35523 Share on other sites More sharing options...
wildteen88 Posted May 13, 2006 Share Posted May 13, 2006 Also make sure the div you have defined a width for the div you are trying to center. Quote Link to comment https://forums.phpfreaks.com/topic/9613-solved-centering-question/#findComment-35533 Share on other sites More sharing options...
Liquid-Fire Posted May 13, 2006 Author Share Posted May 13, 2006 thanks Quote Link to comment https://forums.phpfreaks.com/topic/9613-solved-centering-question/#findComment-35535 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.