CSS code not being recognised
-
Hi, I’m trying to create a really simple table of 5 rows, 3 columns, with all 15 cells the same size (300 x 200 px) – these will have hyperlinked images inside them to be clicked on to take the user to the relevant blog topic area.
I have created this in Tablepress and applied CSS code to size the cells accordingly – what I have done looks fine when I preview it in Tablepress BUT when I add the table id to the WordPress post none of the code is being recognised and everything is out of sync and looks awful. How is the code being overridden? And what do I need to do / add to make sure it works? (see some of the CSS code below)
Many thanks.
.tablepress-id-3 .column-1 {
width: 300px;
}.tablepress-id-3 .column-2 {
width: 300px;
}.tablepress-id-3 .column-3 {
width: 300px;
}.tablepress-id-3 tr {
height: 200px;
}.tablepress-id-3 .column-1 {
padding: 4px;
}.tablepress-id-3 .column-2 {
padding: 4px;
}.tablepress-id-3 .column-3 {
padding: 4px;
}
- The topic ‘CSS code not being recognised’ is closed to new replies.