N
N
Nikita2018-02-28 20:48:20
css
Nikita, 2018-02-28 20:48:20

How to make 2 fields on one line?

Began to saw columns of filling of the internal information and there is a trabl.
How to create 2 input fields in one line? so that it is so
5a96eb0b51263742722597.png
and not in a line as it turns out for me
5a96eb2ba2523975029995.png

<div class='form-row'>
      <label for='form_fname'>First Name: </label>
    		<input type='text' id='form_fname' name='first_name'>
  		</div>

  		<div class='form-row'>
    		<label for='form_sname'>Second Name: </label>
    		<input type='text' id='form_sname' name='second_name'>
    </div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2018-02-28
@etozhetisachniy

For example
Or
Div initially has width = auto, or 100%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question