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>';} Link to comment https://forums.phpfreaks.com/topic/237670-help-with-aligning/ 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 Link to comment https://forums.phpfreaks.com/topic/237670-help-with-aligning/#findComment-1221338 Share on other sites More sharing options...
sofia403 Posted May 27, 2011 Author Share Posted May 27, 2011 hehe yep! thanks Link to comment https://forums.phpfreaks.com/topic/237670-help-with-aligning/#findComment-1221352 Share on other sites More sharing options...
fugix Posted May 29, 2011 Share Posted May 29, 2011 Glad I could help Link to comment https://forums.phpfreaks.com/topic/237670-help-with-aligning/#findComment-1221944 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.