Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7515063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:40:56+00:00 2026-05-30T00:40:56+00:00

Above is a Form. There are different methods to get the following form above,

  • 0

enter image description here

Above is a Form. There are different methods to get the following form above, with the input and text seperated on different lines.

One is to use < br / > and another use fieldset, p-tag, etc.

But I am wondering what the proper way is to seperate the form different things in different lines?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:40:57+00:00Added an answer on May 30, 2026 at 12:40 am

    The easiest way is simply:

    label, input {
        display: block;
    }
    

    Edited to add the content of a comment made below, from myself to the OP, since it seems pertinent to the answer:

    The ‘best’ is a very subjective measure. The ‘best’ is simply the easiest way to achieve your end-result, ideally without mangling the semantics of the HTML. Using div elements in forms gives no meaning to the contained elements, or their relationship to each other.

    Using a fieldset gives some idea of the relationship, but typically (possibly should, but I’m unsure) is used to group elements together, rather than simply style them. I’d argue my method is ‘best’ simply because it relies on no additional (meaningful or meaningless) HTML elements being added to the page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get the above error whenever I try and use ActionLink ? I've only
What I want : To, on focus, change one input box into another by
So I have an input form that I want to use to update a
http://www.raymondselda.com/php-contact-form-with-jquery-validation/ I'm trying a few different contact forms including the one above. I have
See above. I need to move my bitmaps around a Form, or perhaps inside
I encountered the above error message after applying the OutputCache attribute on ActionResult methods
I need to generate a html form with different hidden variables . However the
I have an HTML form with an input field to upload a file. I
Can the form-login tag make use of URLs to external resources? I have two
How would I fill in the boxes of my form if I select one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.