In most cases, the label and checkbox align to each other, but what if you have a long text and viewing it on the wide screen makes the checkbox and label stack to each other, now this simple solution using CSS will help you solve the problem.
Since the id of the input is dynamic we will be using a selector to select input and the label.
CSS Code:
input[type="checkbox"] + label {
display: inline;
}
0 comments:
Post a Comment