We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just noticed my checkboxes with labels using 'for' attributes are aligned incorrectly since these commit: #13003
this is the html what I use for checkboxes :
<div class="input checkbox"> <input type="checkbox" name="active" value="1" id="UsrActive" /> <label for="UsrActive">Active</label> </div>
for now just reverted back the changes on my custom.css :
.checkbox { padding-left: 20px; } .radio label, .checkbox label { display: inline; padding-left: 0px; }
Is there any way to support the label with "for" attribute ? or a checkbox wrapped inside label is a more correct way and supported now ?
Thank you, Andras
The text was updated successfully, but these errors were encountered:
Wrap your inputs in the label. You can still use the for attribute, but yeah, the markup requires this.
for
Sorry, something went wrong.
Those who use asp.net will have checkboxes outside label controls. Bootstrap should support both methods.
File a bug with Microsoft perhaps? And watch http://stackoverflow.com/questions/24757849/checkbox-inputs-badly-aligned-when-theres-no-accompanying-label-using-bootstrap in the meantime.
No branches or pull requests
Just noticed my checkboxes with labels using 'for' attributes are aligned incorrectly since these commit: #13003
this is the html what I use for checkboxes :
for now just reverted back the changes on my custom.css :
Is there any way to support the label with "for" attribute ?
or a checkbox wrapped inside label is a more correct way and supported now ?
Thank you,
Andras
The text was updated successfully, but these errors were encountered: