Skip to content Skip to sidebar Skip to footer

How Do I Keep A Span On The Same Line As An Input Using Bootstrap 3?

What I want is a
with a text that has a displayed inline on the right of it. I want the to scale to the size of the window, bu

Solution 1:

Could you give a visual explanation of

input to scale to the size of the window, but the span to stay the same size but always on the same line as the input.

Here is an example of inline span with input

<linkhref="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"rel="stylesheet" /><divclass="form-inline"><divclass="form-group"><inputtype="text"style="height:150px;"/><span><iclass="glyphicon glyphicon-search">Span</i></span></div></div><divclass="row"><inputclass="col-xs-4"style="height:150px;"type="text" /><spanclass="col-xs-2"><iclass="glyphicon glyphicon-search">Span</i></span></div>

Post a Comment for "How Do I Keep A Span On The Same Line As An Input Using Bootstrap 3?"