We need position Phone
, Name
, and Firstname
to left and button
to right. I try with float-left
and float-right
, is it OK for the first row but after is it more complexe.
For the second row, I try use a row
+col-1..
but Phone
, Name
, and Firstname
not grouped with the input
+--------------------------------------------------------------------------------+
| Title | button | |
+------------+-------------------------------------------------------------------+
| Phone | input | Name | input | Firstname | input | | button | |
+------------+-------------------------------------------------------------------+
| Content table |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------------------+
2
Answers
Did you try flexbox?
Example with Bootstrap auto margins:
live example on https://jsfiddle.net/cichy380/5svek2xn/
Use the Bootstrap’s ‘from-inline’ with spacing utilities for Phone, Name and First name. For button use the ‘ml-auto’ for right align without using the ‘float-left’ or ‘float-right’.