nikhar021 Posted April 19, 2008 Share Posted April 19, 2008 how do i align the submit button at the center of the page???? Quote Link to comment https://forums.phpfreaks.com/topic/101819-aligning-submit-button/ Share on other sites More sharing options...
stuffradio Posted April 19, 2008 Share Posted April 19, 2008 Several ways... CSS, HTML, etc. #submit { text-align: center; } <input type='submit' name='blah' value='blah' id='submit' /> <center><input type='submit' name='blah' value='blah' /></center> Quote Link to comment https://forums.phpfreaks.com/topic/101819-aligning-submit-button/#findComment-521022 Share on other sites More sharing options...
haku Posted April 19, 2008 Share Posted April 19, 2008 As the center tag is deprecated, I would recommend the first option. This is an HTML/CSS question though, not a PHP question. As such it should go in that part of the forum. Quote Link to comment https://forums.phpfreaks.com/topic/101819-aligning-submit-button/#findComment-521027 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.