Starr Duskk
asked on
TD style override
I have two styles for my table tds:
The first is for a table on the master page which must not have any padding. It wraps the body content throughout the site. But the body content contains tables that must have the td padding as shown above.
However, when the tables inside the master page table are rendered, they also do not have padding.
How do I tell the system that only the table with the class name of "HomeMasterPageTable " should have no padding. But every other table needs to have the padding, even if they are tables inside of the HomeMasterPageTable table?
thanks!
.HomeMasterPageTable td
{
padding: 0px !important;
}
td
{
vertical-align: top;
padding: 3px 3px 3px 3px !important;
}
The first is for a table on the master page which must not have any padding. It wraps the body content throughout the site. But the body content contains tables that must have the td padding as shown above.
However, when the tables inside the master page table are rendered, they also do not have padding.
How do I tell the system that only the table with the class name of "HomeMasterPageTable " should have no padding. But every other table needs to have the padding, even if they are tables inside of the HomeMasterPageTable table?
thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.