Using Classes to Style in CSS

unargyacconry

New Member
I've got a table, and inside of the table are elements. I would like to give the table one class "chart" and then style all of the elements that are inside of that table by giving them padding.Is this possible?I was thinking something like...\[code\]info.table.td{ padding:2px;}\[/code\]Would be possible, but it does not work :V I know that . is sort of the class operator, but I thought it would make sense on a tag type as well.
 
Top