Skip to main content
Community Expert
January 13, 2020
Answered

Where do I find vertical text alignment in table cells in RoboHelp 2019?

  • January 13, 2020
  • 16 replies
  • 1386 views

I am formatting some tables and i would like to work with the vertical justification of text in the cells, but I can not find the controls. There are controls for horizontal justification though. I am overlooking something for sure but where?...

This topic has been closed for replies.
Correct answer Vivek Kumar

In the CSS editor for Table Styles, you will find Vertical Alignment section under CELLS tab.

16 replies

Peter Grainge
Community Expert
Community Expert
July 14, 2021

@gb92818477 Whilst you are correct, using DIV tags is something beyond the HTML/CSS knowledge of many users so tables have been used for years and I suspect will continue to be.

________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Known Participant
July 14, 2021

Besides the RH upd3 for remedy in this case:
Using tables for layout of text and image is never a good idea in HTML.
Please consider working with cascading <div> tags and the according CSS flexbox attribute, as described in CSS Flexible Box Layout Module Level 1 (w3.org)

Participating Frequently
January 28, 2021

Thanks Amebr and Peter,

Works fine with Update 3. 

Peter Grainge
Community Expert
Community Expert
January 28, 2021

Try applying Update 3.

________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Community Expert
January 28, 2021

Try updating to Update 3, which is currently the latest.

 

I don't really understand what you're saying for 1. and 2. Can you show what you are doing with the second CSS?

Participating Frequently
January 28, 2021

1. Yes, the CSS resets, not changing from Top to Middle, but altogether deletes the attribute.

Whereas RH resets to middle.

 

2. I used a 2nd CSS with just the alignment class and that too doesn't work. Same thing happens, the attribute gets deleted.

 

3. I have checked the CSS on Explorer and it is not set to read-only.

 

4. Version is 2020.2.29

 

The only thing that works is an inline tag in the <td>. But this is not ideal as I have numerous files and tables.

Community Expert
January 28, 2021

There isn't any inline formatting that would be overriding the style.

 

So what you are saying is that you open the stylesheet, change the alignment from Middle to Top, save, then close the stylesheet. Then when you reopen the stylesheet the alignment is reset to Middle?

 

My only other ideas are that the stylesheet is set to read only - you'll have to check that using File Explorer. Or you are on a version of RH that has a bug. What version are you on? You can check under the Help menu.

Participating Frequently
January 27, 2021

No source control.

 

Here is the code.

Community Expert
January 27, 2021

If the style is not remembering the setting I'm not sure what's going on, as I tried in both RH2019 Update 3 and RH2020.3 and all I had to do was change the table style as illustrated. Maybe the file got set to read only somehow (there's no source control involved is there?).

 

If it's just the table not correctly displaying the style you defined, perhaps you have inline styling that will override the table style. Can you select a row, switch to Source view and post a sample of code that includes the tr and td tags?

 

 

Participating Frequently
January 27, 2021

I have done as shown. Please see ics attached. But after I save the top-align in the cell style and exit, it automatically changes back to middle align when I reopen.