Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Tablepress自定义表格css-Wordpress_Css_Wordpress - Fatal编程技术网

Tablepress自定义表格css-Wordpress

Tablepress自定义表格css-Wordpress,css,wordpress,Css,Wordpress,我为我的tablepress表定制了CSS,但对于一个特定的表,我希望包含单元格边框。当我尝试将自定义CSS代码添加到该表的额外CSS类部分时,它告诉我这是无效的。你能帮忙吗 额外的css是: .tablepress td { border: 1px solid #DDDDDD; } 我为所有表定制的CSS是 .tablepress { background-color: #CDCDCD; margin: 10px 0 15px 0; font-size: 11pt; wid

我为我的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); }

现已更正,抱歉。我已将此代码粘贴到中,未发现任何错误。也许你应该把你所有的CSS都通过它。提示:在这里发布代码时,请尝试使用换行符和缩进,这样读者(和潜在的帮助者)在没有水平滚动条的情况下更容易解析内容。总之,这是一本不错的读物:)