0
Can someone help me to put checkbox on left side and label on right side?
2 Respostas
+ 3
some css wich will do the trick:
#cbox {
text-align:right;
}
input[type="checkbox"]+label{
float:right;
text-align:left;
width:calc(100% - 105px);
margin-left:5px;
margin-right:0;
}
+ 2
NUR ISLAM easiest way that I know is to actually use the checkbox inside the label
<br><label> <input type="checkbox" value="idk"> Dont know why </label>