Sat, 2008-01-26 03:04
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 !important
tag.
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.
Sat, 2008-01-26 03:35
#1
Show some code. Are you
Show some code. Are you applying the padding to the tfoot or to the tr/td inside?
Sat, 2008-01-26 19:27
#2
that was the nudge I needed
Thanks Triumph,
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.
Sat, 2008-01-26 23:24
#3
(No subject)
:thumbsup: