• Resolved sorgiulio

    (@sorgiulio)


    Hi.
    The image with the PDF logo in the fourth column of my table (site: https://canzonieresmjosefa.altervista.org/) do not vertical align in the cell.
    I tried with the following code html:

    <a href="" rel="noopener noreferrer" target="_blank">
    <img src="https://canzonieresmjosefa.altervista.org/wp-content/uploads/2019/09/pdf.png" alt="" width="30" height="39" /></a>

    and the fllowing css
    .tablepress img {
    vertical-align: middle;
    }

    .tablepress .column-4 {
    text-align: center;
    vertical-align: middle;
    }

    but the image remain align to left.

    Please help me.
    Thanks.

    • This topic was modified 5 years, 6 months ago by sorgiulio.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Please try changing

    .tablepress img {
      vertical-align: middle;
    }

    to

    .tablepress img {
      vertical-align: middle;
      display: inline;
    }

    Regards,
    Tobias

    Thread Starter sorgiulio

    (@sorgiulio)

    Wonderful!
    Grazie tantissimo Tobias!!!!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image not align’ is closed to new replies.