Skip to main content
Inspiring
June 29, 2020
Answered

RH 2019 (new UI) - Any way to change vertical alignment in a table cell or whole table?

  • June 29, 2020
  • 2 replies
  • 266 views

Hi, Everyone.

 

Hoping you can tell me how to change vertical alignment in a table cell or whole table? (By default, the vertical alignment is set to "center.")

 

This is in RH 2019, new UI.

 

Thank you!

    This topic has been closed for replies.
    Correct answer Amebr

    If you want to set it for all tables, go to the table style and set the Vertical Alignment (under Cells) to top. This will set it for the whole table. If there's no table style in your stylesheet, add the style by just filling out the Tag field with 'table'; don't change Class or Pseudo Class.

     

    I couldn't see a way to set it for an individual table using inline formatting. But it's probably better to set up a special style that you can then change in one place later. In this case create a new table style but also fill in the Class field with a specific style name, so the style only applies to certain tables you apply it to.

     

    (I apologise if you already know how to create styles. Just New UI is so new I imagine some people are struggling with the CSS terms.)

     

     

    2 replies

    Inspiring
    June 30, 2020

    Awesome!!!!!

     

    Thank you, Amber. I'm thrilled to have this working, now. And I've learned something elemental in setting this up. Something has really "clicked" for me re. CSS and working with styles that wasn't making sense to me before.

     

    Thanks so much for walking me through it. You've explained it really well. I have very little knowledge of creating styles. This really brings it home for me. 🙂

    AmebrCommunity ExpertCorrect answer
    Community Expert
    June 30, 2020

    If you want to set it for all tables, go to the table style and set the Vertical Alignment (under Cells) to top. This will set it for the whole table. If there's no table style in your stylesheet, add the style by just filling out the Tag field with 'table'; don't change Class or Pseudo Class.

     

    I couldn't see a way to set it for an individual table using inline formatting. But it's probably better to set up a special style that you can then change in one place later. In this case create a new table style but also fill in the Class field with a specific style name, so the style only applies to certain tables you apply it to.

     

    (I apologise if you already know how to create styles. Just New UI is so new I imagine some people are struggling with the CSS terms.)