Copy link to clipboard
Copied
TCS 2.0, linking FrameMaker 9 (unstructured) files to RH8.
My FrameMaker files have several one-cell right-aligned tables. I mapped all the tables to a table style called "Product" in RoboHelp.
The table properties in style mapping are set to be right-aligned for this table. However, the table continues to display as left-aligned in the preview and the output.
I am not very knowledgeable about css but decided to edit the css for this table to specify right-aligned.
Here is my css entry for this table style:
table.Product {
align: right;
font-size: 10pt;
text-align: right;
}
The table is still left-aligned.
Looking at the HTML view for the table, there is this line:
<?rh-align_start align="left" ?>
When I manually change "left" to "right," my table is right aligned and looks the way I want. This rh-align_start property seems to be something that is not in the css or is overriding the css.
I can also right-click on the table and select right-aligned from the table properties, which accomplishes the same thing. However, I have thousands of these tables and need an automated solution.
Is this a RH bug? How can I make this table style right-aligned?
Thanks,
Alexandra
Copy link to clipboard
Copied
Alexandra, I am still using TCS1. THere's a similar problem there. I "fixed" it by adding a table caption to the bottom. This "stabilizes" the table and its format in RH and brings over the settings you give it in FM. I control spacing with the caption row, giving it a 1pt font and setting top and bottom padding in the paragraph format.
Don't know if this will help you.
Copy link to clipboard
Copied
Hi,
Thanks for replying. I tried your suggestion but unfortunately, it didn't work. I tried a caption with and without text. I tried above and below. Thinking maybe it's the one-cell table causing the problem, I also tried adding a column to the right.
These things did not help. My table still comes in to RH as a left-aligned table.
Thank you for trying to help.
Alexandra
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more