css and DataTables JavaScript
-
Hello Tobias,
When I use DataTables JavaScript with a table, css code to center the table does not work.Regards Gerard
Here is my css code:
.tablepress { margin-left: auto! important; margin-right: auto! important; width: 600px! important; } .tablepress th { font-family: Calibri; font-size: 14px; color: # 282828; background-color: # 787878; text-align: center; } .tablepress td { font-family: Calibri; font-size: 14px; text-align: center; color: # 282828; background-color: # D0D0D0; } .tablepress. {t even background-color: # F0F0F0; } .tablepress. odd td { background-color: # D0D0D0; } .tablepress. hover row-tr: hover td { background-color: # FFFF00! important; } .tablepress. {sorting background-color: # 787878; }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘css and DataTables JavaScript’ is closed to new replies.