lundi 5 janvier 2015

styled checkboxes overlap in table

I got this snippet from another question here on stackoverflow:


Snippet


If I put these checkboxes in a table, one checkbox per row, they overlap due to the padding of the labels. Why does this happen? Why doesn't the table cells change their height?


And how can I fix it?


Also, 'width: 100%' does not work for the label





Aucun commentaire:

Enregistrer un commentaire