Reputation: 77
I'm having a problem with the code below, specifically the line "table.ScanData, th, td" that is setting the borders for all the other tables on my page but NOT ScanData.
table.ScanData
{
margin-left:5px;
border-collapse:collapse;
border: 1px solid black;
}
table.ScanData, th, td
{
border: 1px solid black;
}
table.ScanData td
{
padding:3px;
}
Upvotes: 1
Views: 92
Reputation: 34204
Use this.
table.ScanData th, table.ScanData td
{
border: 1px solid black;
}
Upvotes: 0
Reputation: 10517
try
table.ScanData th, table.ScanData td
instead of
table.ScanData, th, td
Upvotes: 7