?
Solved

Bootstrap - Group Elements together - no break

Posted on 2016-07-22
1
Medium Priority
?
79 Views
Last Modified: 2016-08-03
Is there a way in Bootstrap to group elements together so there is no break in that group on narrower devices?

For example, this:
<div class="col-sm-2 col-xs-2 text-center" style="padding-top:3px;">RP&nbsp;<input type="text" name="itcv1psi" style="width:75px;">&nbsp;PSI</div>

I want to force it to keep "RP", the text box and "PSI" on one line.

Thanks
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 49

Accepted Solution

by:
Roonaan earned 2000 total points
ID: 41725617
Although not a bootstrap answer technically, adding white-space: nowrap  to the .col-sm-2 div should work.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question