Vertical alignment inside table cell

Posted in: Newspaper
Post count: 27

Hi, I have a table and the text is well aligned by default (left and middle). But the images inside the second column are aligned to the top and I want it to be aligned in the middle.

I tried inserting a class with the images and try to put in the custom css code:

.nivel {
vertical-align:middle;
position:relative;
}

It didn`t work, because I need those squares in the middle of the cell (not the center, just in the middle)

This is the url: shorturl.at/hipzR

Post count: 21065

Hello!

Please provide more information about the issue or what you need to achieve, screenshots or a video and your website link.

A solution for sending a screenshot/video is this:
Download, capture, send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link, paste it here.

Thank you!

Post count: 27

Hi, let`s go

This is the print screen: https://ibb.co/MfP7KHt

This is the page: shorturl.at/kzIJ1

I`m using this code in the custom css but no success:

table td {
text-align: left;
vertical-align:middle;
}

Thank you

Post count: 27

I fixed it, just added margin top here:

.tagdiv-type img {
margin-bottom: 10px;
margin-top: 10px;
}

Thank you anyway

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.