How do i evenly space my 5 pairs of elements, for a small screen width, in bootstap 3?

I have 5 pairs of controls that I want to have spaced evenly when the user's browser window is small (sm). I'm very close but need to find a way to either shrink the 4th pair of elements or grow (widen) the fifth pair. Right now it raps the data of the fifth pair on the line below, when the user's browser window is small. Any suggestions?

    <div class="row">
        <div class="form-group">
            <div class="col-xs-12 col-sm-2 col-md-2 col-lg-3">
                <span class="text-right detail-label-black">Year:</span>
                <asp:Label runat="server" ID="lblYear" class="detail-data-bold-black" />
            <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
                <span class="text-right detail-label-black">Make:</span>
                <asp:Label runat="server" ID="lblMake" class="detail-data-bold-black" />
            <div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
                <span class="text-right detail-label-black">Model:</span>
                <asp:Label runat="server" ID="lblModel" class="detail-data-bold-black" />
            <div class="col-xs-12 col-sm-3 col-md-2 col-lg-2">
                <span class="text-right detail-label-black">Mileage:</span>
                <asp:Label runat="server" ID="lblMileage" class="detail-data-bold-black" />
            <div class="col-xs-12 col-sm-3 col-md-4 col-lg-3">
                <span class="text-right detail-label-black">VIN:</span>
                <asp:Label runat="server" ID="lblVIN" class="detail-data-bold-black" />

Open in new window

col-sm problem
Michael SterlingWeb Applications DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

käµfm³d 👽Commented:
Have you tried making the 4th column a col-sm-2 and the 5th column and col-sm-4?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael SterlingWeb Applications DeveloperAuthor Commented:
yes. when i do that, the 4th pair wraps like the 5th pair.
David S.Commented:
I suggest you override the Bootstrap styles and write custom styles for that break-point. Set the widths of those 5 columns to "auto", give them "display:table-cell", and give "display:table" to their parent.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

käµfm³d 👽Commented:
You can nest rows in Bootstrap, so what if you create an outer row where the columns have a 60/40 split, say, and the first three fields go in the left column, and the remaining fields go in the right column. Within each of those columns, you define additional rows (1 per column). Within those rows, the max columns is still 12, so divide 12 by the number of fields you put in that column. Each of the fields will go into its own inner column.

You might need to play around with it, but 60/40 is probably a good starting point.
David S.Commented:
Somehow I doubt Bootstrap is intended to increase cases of divitis. A framework is supposed to be a help, not a limitation.
käµfm³d 👽Commented:
Hmmm...They saw fit to document it, so I guess "to each his own?"

; )
Michael SterlingWeb Applications DeveloperAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.