Skip to main content
Question

Top Justification in tables within email notifications

  • March 6, 2025
  • 1 reply
  • 18 views

We use email notifications extensively. Creating a single row table with 2 columns is simple enough. If I place an image in the left column by itself, I want it to align to the top of the cell. However, it aligns to the vertical middle. This creates an odd result when the right column contains a lot of text. I do not see Top Align as an option anywhere.

1 reply

  • Author
  • Novice III
  • March 6, 2025

Found the answer.

  1. In the notification itself, choose to view the code (HTML).
  2. In the table cell with the image (this is the <td> (table detail) tag), add the valign attribute like this: 
    <td valign="top">
  3. The image will now appear at the top of the cell, even in the preview, and also in Outlook.
  4. Special note: HTML5 deprecated this attribute, but it still works in Docebo.