In design view it shows all of these on the same line. My guess is form-control has the style display:block; and width:100%, Remove the above styles or override it using custom css below. Here's how you can use flexbox to align your form elements nice and evenly. Here's some example of my CSS. Top of the article says to always be explicit with labels. Thats confusing for no good reason. For this article, we are using internal stylesheet which is done under the style tag. In several places I found claims that explicit labels are best. width: 10em; width: 10em; There is no option to have the label outside of the input in order to offer an increased interactive area for focusing the input. Tip: Go to our CSS Form Tutorial to learn float: none; It doesnt matter if your form is beautiful if it is unusable. You can try this out in the example below, which has a flex container with flex-direction: column yet otherwise is exactly the same as the previous example. How can I keep checkboxes and text on the same line on mobile devices? html. These are styled with CSS and I have selected CSS3. Great explanation, and I love the cartoons! ERROR: CREATE MATERIALIZED VIEW WITH DATA cannot be executed from a function, How to handle a hobby that makes income in US. Example 1: Taking input in two consecutive fields. Edit: by default the flex direction is row, so your items would stay on the same line, unless you change the direction. Here, well show how its possible to create right-aligned and left-aligned