Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jQueryチェックボックスとラベルの場合、デフォルトの配置は次のようになります。
[x] label
ラベルが前面に表示されるように変更するにはどうすればよいですか?ファイアバグを使用して、私はそれらにアライメントステートメントを見つけられませんでした。
の前にラベル テキストを配置するだけで、<input type = "checkbox"/>コードは次のようになります。
<input type = "checkbox"/>
<label for = "testCheckbox">Label</label> <input type = "checkbox" id = "testCheckbox" name = "testCheckBox"/>