I have a css file named tablecellmembers.css (and is not yet linked in the .aspx file?) that contains:
td {
border-collapse: collapse;
border-top: thick;
border-top-width: 5px;
border-top-color: blue;
}
Then I created a table, table row, and table cell dynamically in the .cs file.
TableCell tc = new TableCell();
How can I apply that css file to my table cells?
I have tried:
tc.CssClass = "td";
tc.Attributes.Add("tablecellmembers", "td");
But the css is not being applied to the cells..
TableCellcome from?