1

我为我的 tablepress 表格定制了 CSS,但对于一个特定的表格,我想包括单元格边框。当我尝试将自定义 CSS 代码添加到该表的额外 CSS 类部分时,它告诉我它无效。你能帮我吗?

额外的CSS是:

.tablepress td {   border: 1px solid #DDDDDD; }

我所有表格的自定义 CSS 是

.tablepress {   background-color: #CDCDCD;  margin: 10px 0 15px 0;  font-size: 11pt;    width: 98%;     text-align: left; }

.tablepress th {    background-color: #E6EEEE;  border: 1px solid
#FFFFFF;    padding: 4px; }

.tablepress td {    color: #3D3D3D;     padding: 4px;   background-color:
#FFFFFF;    vertical-align: top; }

.tablepress .even td {  background-color: #FFFFFF; }

.tablepress .odd td {   background-color: #F0F0F6; }

.tablepress .header {   background-image: url(http://lifeinthefastlane.com/wp-content/plugins/wp-table-reloaded/img/bg.gif);    background-repeat: no-repeat;   background-position: center right;  cursor: pointer; }

.tablepress .headerSortUp {     background-color: #8DBDD8;  background-image: url(http://lifeinthefastlane.com/wp-content/plugins/wp-table-reloaded/img/asc.gif); }

.tablepress .headerSortDown {   background-color: #8DBDD8;  background-image: url(http://lifeinthefastlane.com/wp-content/plugins/wp-table-reloaded/img/desc.gif); }
4

0 回答 0