How do I align the checkboxes and radio buttons, along with their labels, to the left side?
I have aligned all the other inputs in my form to the left side and i want to do the same with my radio buttons and check boxes. I am not understanding why they are centered since i don’t think I have mentioned center alignment anywhere.
I have tried using float:left
and flexbox but it did not work. It also messed up the alignment further. Please help me to align the radio buttons and checkboxes to look like this:
enter image description here
My output currently looks like this:
enter image description here