emediastudios Posted April 28, 2008 Share Posted April 28, 2008 I have a site built in PHP and it displays fine in IE, but on testing in FireFox i have a few issues. Mainly it is aligned left in FireFox and centered in IE, i want it centered in FireFox. Anyone help me. Heres the link www.worldmuaythaimedia.com Can this be done in CSS and inline? Which way best? Thanks everyone Quote Link to comment https://forums.phpfreaks.com/topic/103212-solved-div-align/ Share on other sites More sharing options...
peranha Posted April 28, 2008 Share Posted April 28, 2008 do you have a page div that holds all others? if so in the css you can have margin-left: auto; margin-right: auto; that will align the main div to center Quote Link to comment https://forums.phpfreaks.com/topic/103212-solved-div-align/#findComment-528682 Share on other sites More sharing options...
emediastudios Posted April 28, 2008 Author Share Posted April 28, 2008 do you have a page div that holds all others? if so in the css you can have margin-left: auto; margin-right: auto; that will align the main div to center Your a champ Thanks Quote Link to comment https://forums.phpfreaks.com/topic/103212-solved-div-align/#findComment-528703 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.