atmananda Posted May 18, 2014 Share Posted May 18, 2014 hi, I have a contact form with 4 fields; name, email, input text, and security question.. For some reason, I can get the input fields of Name and Email to sit on the left side of their respective input fields, but for Input Text and the Security Question, the label sits on the right of the input field... Anyone have any idea what I'm doing wrong?? Thankyou!! http://www.atmananda.com/contact-us/ Link to comment Share on other sites More sharing options...
Ingolme Posted May 18, 2014 Share Posted May 18, 2014 You have to put the label before the input in your HTML. Your code should be like this: <label for="contactName">Name</label><input id="contactName" class="required" type="text" value="" name="contactName"> Link to comment Share on other sites More sharing options...
atmananda Posted May 24, 2014 Author Share Posted May 24, 2014 hey, that didn't seem to work.. any other ideas?? Link to comment Share on other sites More sharing options...
Ingolme Posted May 25, 2014 Share Posted May 25, 2014 How is it not working? Browsers always render from top to bottom, left to right. Elements go to the left of other elements that follow them. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now