.checkbox-inline
should only be used on <label>
elements
Wrong:
<span class="checkbox-inline"> <input type="checkbox" id="inlineCheckbox1" value="option1" /> Option number one </span>
Right:
<label class="checkbox-inline"> <input type="checkbox" id="inlineCheckbox1" value="option1" /> Option number one </label>Incorrect markup used with the
.checkbox-inline
class. The correct markup structure is label.checkbox-inline>input[type="checkbox"]
.checkbox-inline
requires a specific DOM structure. There cannot be any intervening layers of elements.
Wrong:
<label class="checkbox-inline"> <span class="my-awesome-wrapper"> <input type="checkbox" id="inlineCheckbox1" value="option1" /> Option number one </span> </label>
Right:
<label class="checkbox-inline"> <input type="checkbox" id="inlineCheckbox1" value="option1" /> Option number one </label>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4