本文介绍了如何在标签后添加复选框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望标签后有一个复选框请帮帮我
我尝试过的事情:
i want to have a check box after label please help me
What I have tried:
< label for =check2class =check2> Is Active< / label>
<label for="check2" class = "check2">Is Active</label>
< input class =check2type =checkboxname =checkvalue = check1>
<input class="check2" type="checkbox" name="check" value="check1">
.check2 {float:left}
.check2 { float : left}
推荐答案
My label text [X]
而不是这个:
[X] My label text
然后看到这里: []
Josh Crozier答案应该这样做。
Then see here: html - How can I move a label to the left of a checkbox in Bootstrap 3? - Stack Overflow[^]
The Josh Crozier answer should do it.
这篇关于如何在标签后添加复选框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!