Cell Spacing and Background colour
-
Hi
I have used tablepress to add content to my site but i just have two questions.1. How can i make an image fill the entire cell at the moment there seems to be a margin or padding on it which i am unable to get rid of?
2. How can i make my entire table background a particular colour at the moment it is only in one row?The code that I have entered to try to achieve this is the following
.tablepress,
.tablepress tr,
.tablepress tbody,
.tablepress tbody td,
.tablepress td,
.tablepress thead th,
.tablepress tfoot th {
background-color: #9d9770;
border: solid;
border-width: 5px;
border-color: white;
padding: 0;
margin: 0;
}.tablepress img {
max-width: 100%;
}.tablepress .column-1 {
width: 50%;
padding: 0;
margin: 0;
}.tablepress .column-2 {
width: 50%;
padding: 0;
margin: 0;
}Thanks for any help
The page I need help with: [log in to see the link]
- The topic ‘Cell Spacing and Background colour’ is closed to new replies.