Hi:
I've got a question regarding selectors in the CSS style sheet.
I've got a series of selectors for table elements, but I'd like to have them associated with a specific table ID.
Consider the following code snippet:
table.tableSection {
display: table;
width: 100%;
}
table.tableSection thead, table.tableSection tbody {
float: left;
width: 100%;
}
table.tableSection tbody {
overflow: auto;
height: 150px;
}
table.tableSection tr {
width: 100%;
display: table;
text-align: left;
}
Open in new window
How would I accomplish this?
Thanks,
JohnB
the selector for ID is : #
Please note unlike CLASS attribute value, each ID attribute value MUST be unique in a document/page.