-3

I want to keep my text aligned vertically on a checkbox input, but when larger labels are added the text will drop a line, ending up below the checkbox.

See screenshot: http://prntscr.com/hb7ow2

Is there any way to keep the text aligned as shown in the second screenshot?

1 Answers1

0

I fixed it, for future reference for anyone reading this: target the checkbox (I used :before), position as absolute, position accordingly, wrap label in a span tag, add a margin-left, finally add spacing to your suiting.