• Resolved TriciaB

    (@triciab)


    Hi, I can’t seem to get my table contents to align correctly. I would them to vertically align to the middle of the cells but I’m not getting this.

    Here’s my table:

    <table>
    <tbody>
    <tr>
    <td valign=”middle”>Pamela Schilderman</td>
    <td valign=”middle”>”The France Brodeur Young Artist Award has enabled me to create ‘Casket’; a project that is pivotal to my next body of work on identity.”
    Pamela Schilderman</td>
    </tr>
    <tr>
    <td valign=”middle”> </td>
    <td valign=”middle”> </td>
    </tr>
    </tbody>
    </table>

    And here’s the post where this appears:

    https://www.francebrodeur.co.uk/fbyaa-2016-winners/

    Suggestions welcome. Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Please read the “Posting Code” section in the Forum Welcome.

    What you posted is unreadable because some of the code is being parsed (that’s why the image showed up).

    Anyway, you’re on the right track, but “valign” is a deprecated attribute. Your exact code would have probably worked on a very old browser, but deprecated code is liable to stop working in newer browsers, and that appears to have been what happened here.

    Instead of valign="middle" try style="vertical-align: middle" and let us know how it goes!

    Thread Starter TriciaB

    (@triciab)

    Hooray! Thank you, it’s now working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘valign’ is closed to new replies.