6

I am trying to put some text between a radio button group....I have tried both

<hr>

and

<br>

tag. But it doesn't work... The text always sticks to the button group..This is my code

<div class="btn-group btn-group-sm" data-toggle="buttons">

          <label class="btn btn-default">
    <input type="radio" name="options" id="option1"> <span class="glyphicon glyphicon-music"> MP3</span></label>
         <label class="btn btn-default">
    <input type="radio" name="options" id="option2"> <span class="glyphicon glyphicon-music"> WAV</span></label>

<hr>
<p>Use conversion tools</p>

<label class="btn btn-default">
    <input type="radio" name="options" id="option3"> <span class="glyphicon glyphicon-film"> MKV</span></label>
        <label class="btn btn-default">
    <input type="radio" name="options" id="option4"> <span class="glyphicon glyphicon-film"> FLV</span></label>
 </div>  

My intention is to create some gap or using a divider between group choice.

paulalexandru
  • 9,218
  • 7
  • 66
  • 94
user2978381
  • 145
  • 1
  • 2
  • 14

5 Answers5

13

Try to use:

<hr class="separator">

This is what is on bootstrap docs.

Marcel Kohls
  • 1,650
  • 16
  • 24
7

you can also use

<hr class="featurette-divider">
aosphyma
  • 177
  • 2
  • 2
5

Try thiss:

<div class="clearfix"></div>
<br><br>
paulalexandru
  • 9,218
  • 7
  • 66
  • 94
2

Problem is not clear, would be better if you had jsfiddle or screenshot, you should use form control, or at least list control to order elements as you want

<div class="list-group">
    <div class="list-group-item"></div>
</div>

Here is http://jsfiddle.net/52VtD/5658/ maybe helps.

StefansArya
  • 2,802
  • 3
  • 24
  • 25
Medet Tleukabiluly
  • 11,662
  • 3
  • 34
  • 69
  • Though my intention is being fulfilled by your answer...radio button option doesn't work...thanks for your endeavor – user2978381 May 19 '14 at 06:42
0
<!-- HR -->
<div class='col-sm-12 pb-3'>
    <hr>
</div>
Tommy L
  • 140
  • 11