Deeptechtons
Deeptechtons

Reputation: 11125

Twitter bootstrap and Checkboxlist or Radiobutton list

I got a markup like below and without any styling, the Twitetr Bootstrap css seems to mess something such that the checkbox falls below the label text.What is the thing i got to change

<ul >
    <li>
        <label>1<input type="checkbox" id="chk1" name="chk1"></label>
    </li>
    <li>
        <label>2<input type="checkbox" id="chk2" name="chk2"></label>
    </li>
</ul>

screenshot http://img525.imageshack.us/img525/3390/savec.jpg

Upvotes: 3

Views: 20695

Answers (2)

fiat
fiat

Reputation: 15981

inputs-list doesn't seem to be a css class anymore. I used class="nav nav-list" instead.

Upvotes: 9

Interrobang
Interrobang

Reputation: 17434

Add the class "inputs-list" to your <ul>. Everything will magically work.

Upvotes: 0

Related Questions