Azu Posted May 25, 2007 Share Posted May 25, 2007 What am I supposed to use to replace the <center> tag with? I've tried html,body{text-align:center;} but that does not work. It only centers the text, not tables and stuff. Please help =O Quote Link to comment https://forums.phpfreaks.com/topic/53001-solved-tag-deprecated-what-to-replace-it-with/ Share on other sites More sharing options...
ToonMariner Posted May 26, 2007 Share Posted May 26, 2007 give elements a width and set their left and right margins to auto. Quote Link to comment https://forums.phpfreaks.com/topic/53001-solved-tag-deprecated-what-to-replace-it-with/#findComment-261900 Share on other sites More sharing options...
Azu Posted May 27, 2007 Author Share Posted May 27, 2007 Thanks ^^ that works. Quote Link to comment https://forums.phpfreaks.com/topic/53001-solved-tag-deprecated-what-to-replace-it-with/#findComment-262577 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.