I'm trying to style my table so the content in the bottom row (my totals) has a padding-top and -bottom of say, 8 or 10 px. But, though other properties are rendered (font-weight, background-color), my padding isn't, even with an
I've tried using a styled (class) footer with td elements and a styled (class) regular row with th elements, with no change in effect.
Is there a specificity rule I'm misunderstanding? Thanks 'gin.
Show some code. Are you
Show some code. Are you applying the padding to the tfoot or to the tr/td inside?
that was the nudge I needed
That was the reminder I needed. I'm padding the content, not the containing element. Hence, creating a class for the first td in the row worked. Applying a class to the row did not work.