Skip to main content
Participating Frequently
June 19, 2009
질문

RoboHelp 8: In tables that are in drop-downs, how can I set the vertical alignment of cells to top?

  • June 19, 2009
  • 3 답변들
  • 1734 조회

In an HTML help project that I have upgraded from RoboHelp 7 to RoboHelp 8, in tables that I have in drop-downs the vertical alignment of cells has changed from top to center. If I try to update this setting in the table properties, the table looks fine when I exit the drop-down editor, but when I reopen the drop-down, it is back to center alignment. Does anyone know what is causing this and how I can fix it?

My tables that are not in drop-downs are all still top aligned as expected.

As an experiment, I copied a table that is not in a drop down, and then pasted it into a new drop-down. The vertical alignment was removed. When I look at the html, the code for the rows in the drop-down all changed from <tr valign="top"> to <tr>.

I also tried creating a brand new project in RoboHelp 8 and creating a new table within a drop down; again, same issue in that it changes the vertical alignment for the cells to center.

이 주제는 답변이 닫혔습니다.

3 답변

Dee70작성자
Participating Frequently
July 10, 2009

Thanks for all of your assistance. I would just add for the sake of anyone who reads this that the problem exists in the print output as well.

Dee70작성자
Participating Frequently
June 23, 2009

Sorry that my last reply was not clear. I was referring to the generated output. I've sent you a copy of the project.

Peter Grainge
Community Expert
Community Expert
June 23, 2009

Thanks for the project that has enabled me to identify the problem.

Your style sheet is missing the following definition so there is nothing to tell RH that you want the table content top aligned. Unfortunately the CSS editor does not allow you to add what is required so you will need to open it in Notepad and add this at the end.

TD {
    vertical-align: top;
}

Then when you generate your help, the output will be driven by the CSS and will be top aligned.

You could apply inline alignment by going into the table properties, selecting the Cell tab and applying top alignment. However, I do not recommend that as it will have to be done for each table and will remove the ability to change that from the style sheet.

Take a look at the Not So Good section of the topic on Tables at

http://www.grainge.org/pages/authoring/rh_tour/index.htm


See www.grainge.org for RoboHelp and Authoring tips

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
July 8, 2009

The update to the style sheet appears to work--initially. Using the style sheet that has been updated to provide the vertical alignment, when I first upgrade a project to RoboHelp 8 everything looks great in my ouput. However, as soon as I make any kind of edit to a drop down that contains a table (the edit doesn't even have to be made within the table itself) then the next time I generate my output, the tables are center aligned once again. Same thing happens to tables that are within tables, but not in drop downs.


Create another new project. Put your CSS in it and check it works OK and then doesn't, if you see what I mean.

If you can reproduce the error, send the project again via http://www.cutesendit.com with a link to this thread.


See www.grainge.org for RoboHelp and Authoring tips

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
June 19, 2009

This is a known problem. See Using RH8 on my site.

The more people who report a bug or request a feature, the more likely it is to be actioned. Please follow this link.

http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38


See www.grainge.org for RoboHelp and Authoring tips

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Dee70작성자
Participating Frequently
June 19, 2009

Thanks Peter. I logged this as a bug as you had suggested.

In another similar post I see you had commented "The alignment in your output will be OK." Just an FYI, that the alignment in my output is not OK in most cases.

Peter Grainge
Community Expert
Community Expert
June 20, 2009

Dee 70

Then there is something else wrong. First try applying some different CSS files temporarily to test.

If no change, create a new project and using your CSS, try again in just one topic.

Any change?


See www.grainge.org for RoboHelp and Authoring tips

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.