Horizontal and vertical aligments for text and pictures
-
Dear Tobias,
I’m struggeling with some CSS code for the alignments of text and/or pictures (WP 3.6, Genesis theme). You can find my table-page here.
What I’ve done is that the pictures are aligned vertical middle. Just perfect. But how can I add that the text must be aligned vertical too? And in row 3 (the first one with pictures) I’ve the pictures aligned in the middle (horizontal) but the rest of the rows have not.
The CSS code for now is:
.tablepress-id-3 img {
margin: 0 auto !important;
}.tablepress-id-3 .column-2 {
vertical-align: middle;
}.tablepress-id-3 .column-3 {
vertical-align: middle;
}.tablepress-id-3 .column-4 {
vertical-align: middle;
}.tablepress-id-3 .column-5 {
vertical-align: middle;
}.tablepress-id-3 .column-6 {
vertical-align: middle;
}.tablepress-id-3 .column-7 {
vertical-align: middle;
}.tablepress-id-3 .column-8 {
vertical-align: middle;
}Do you have any suggestions for me?
- The topic ‘Horizontal and vertical aligments for text and pictures’ is closed to new replies.