I am trying at the minute to get my forms controls to appear side by side but at present their vertically stacked and taking up to much room at present.
Accroding to your codes,I suggest you could use form-group row to put your dropdown boxes and labels and you need to add col-md in your labels and dropdown boxes. Note:Bootstrap's grid system allow 12 columns in one row.So your col-md-16 is wrong.
Since you don't post full codes,I create a demo,just like this:
ASP.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >
Member
17 Points
137 Posts
Horizontal Align dropdown boxes and there labels
Jul 22, 2020 09:04 PM|roguenidb|LINK
I am trying at the minute to get my forms controls to appear side by side but at present their vertically stacked and taking up to much room at present.
All-Star
53711 Points
24037 Posts
Re: Horizontal Align dropdown boxes and there labels
Jul 22, 2020 09:16 PM|mgebhard|LINK
The Bootstrap reference documentation illustrates the markup and CSS to create inline form inputs.
https://getbootstrap.com/docs/4.0/components/forms/#form-grid
Contributor
4050 Points
1570 Posts
Re: Horizontal Align dropdown boxes and there labels
Jul 23, 2020 03:27 AM|yij sun|LINK
Hi roguenidb,
Accroding to your codes,I suggest you could use form-group row to put your dropdown boxes and labels and you need to add col-md in your labels and dropdown boxes.
Note:Bootstrap's grid system allow 12 columns in one row.So your col-md-16 is wrong.
Since you don't post full codes,I create a demo,just like this:
Result:
Best regards,
Yijing Sun