1

I was reading some posts on various blogs and also here on stack-overflow about why applying padding on tr doesn't work and it is also a bad idea. In practice:

/*Not good*/
tr {
   padding-bottom:20px;
}

/*Correct implementation*/
th, td {
   padding-bottom:20px;
}

Is there a specific reason because of this choice?

Source: Padding a table row

AndreaCostanzo1
  • 1,799
  • 1
  • 12
  • 30

0 Answers0