I’m looking to arrange two textboxes side by side in an MVC view, as part of my form. How do I get the two textboxes to appear in the same line inside the view?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The default MVC style sheet will have elements under each other if you have used a scaffolded view.
Applying a float left to your elements will have them side by side.
Use your browser of choice’s inspect element to find ids or classes of div to apply style to.