Center image and embed video in cells when columns are 50% of the table's width
-
Hello.
I’ve set some tables in the mainpage at https://www.johnnorum.se that follows this rule:
.tablepress-id-1 .column-1,
.tablepress-id-1 .column-2 {
width: 50%;
}.tablepress-id-3 .column-1,
.tablepress-id-3 .column-2 {
width: 50%;
}.tablepress-id-8 .column-1,
.tablepress-id-8 .column-2 {
width: 50%;
}
but I don’t know how to place images and videos so they fit exactly the cell’s width, that is always 50% of the table. I mean… If I have big images, I’d like they automatically resize to fit the cell.
Can you please help me with this?
Thanks! Fran
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Center image and embed video in cells when columns are 50% of the table's width’ is closed to new replies.