sofia403 Posted May 27, 2011 Share Posted May 27, 2011 Hi i was just wondering how i could properly align the label with the form horizontaly? right now its just stacked on top of each other. thanks echo '<p><label for="test">ApplicationStatus:</label><form name="test" method="post"> <select name="ApplicationStatus"> <option value="">------</option> <option value="In process" '.(($row['ApplicationStatus']=='In process')?'selected="selected"':'').'>In process</option> <option value="Withdrawn" '.(($row['ApplicationStatus']=='Withdrawn')?'selected="selected"':'').'>Withdrawn</option> </select></p>';} Quote Link to comment Share on other sites More sharing options...
fugix Posted May 27, 2011 Share Posted May 27, 2011 i believe that if you place the label tag inside of the form tag it should be horizontal Quote Link to comment Share on other sites More sharing options...
sofia403 Posted May 27, 2011 Author Share Posted May 27, 2011 hehe yep! thanks Quote Link to comment Share on other sites More sharing options...
fugix Posted May 29, 2011 Share Posted May 29, 2011 Glad I could help Quote Link to comment 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.