RIRedinPA Posted April 28, 2010 Share Posted April 28, 2010 Is there a way to achieve this without using <br> tags? Label Label Label Input Input Input so the html for the form would look something like this: <form> <p> <label for "label1">Label 1</label> <input type="text" size="20" name="label1"> <label for "label2">Label 2</label> <input type="text" size="20" name="label2"> <label for "label3">Label 3</label> <input type="text" size="20" name="label3"> </p> </form> Would I need to use spans to achieve this? Quote Link to comment Share on other sites More sharing options...
Baez Posted April 28, 2010 Share Posted April 28, 2010 Put each of the labels in a <div> tag floating left. Then put each of the inputs in another div floating left but with a top margin of about 30px. 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.