← back to code snippets


CSS checkbox alignment

Posted on February 2nd, 2014

Sometimes a checkbox won’t align properly with text/label adjecent to it. The text appears slightly underneath the checkbox. To fix it is simple - just add this style to your checkbox:

 vertical-align: top;