Answer the question
In order to leave comments, you need to log in
Is it reasonable to use br?
When laying out such a structure, which of the options will be more correct and beautiful?
1. Use br to transfer - I read / heard somewhere that it is not recommended to use it at all and you can safely do without it.
2. Wrap each input + label row in a block element and the problem will sort of disappear by itself .. but a lot of different wrappers will multiply, not at all ok.
3. Use fixed widths - an extreme option, with fixed widths there may be problems with adaptability, etc., IMHO.
ps: sorry for the possibly holivar/stupid question, but I want to learn how to do everything according to feng shui and not worry about it :)
Answer the question
In order to leave comments, you need to log in
<label class="checkbox checkbox--block">
<input type="checkbox" />
Some label
</label>
but a bunch of different wrappers will breed, not at all ok.where are the bunch of wrappers from? The title, list and each input are wrapped in a label. Or dl-dt-dd and also input to the label.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question