Need help for style not displaying correctly in chm
I’m using RoboHelp HTML version 8. RH8 is dropping a style from my stylesheet. The style appears to be applied correctly when I view a topic (the HTML file) directly with either IE or Firefox browser, and it appears correctly when I view the topic with the “Item View” feature in RH8 (the eyeglasses icon). However, in the compiled HTML help output from RH, the style is not correct. The style in question is a class of style (“desc” for descriptions) for a subset of table data. The “desc” class should have the data in the cell left justified, and the cell width should be 50%. The main parent style for table data (centered text, cell width varies) seems to be applied instead, and the child style for descriptions is not applied. Below I've included a screen shot of a table page as it looks in Item Viewer, then the same page as it appears in the CHM, and finally the style sheet in its original state before being added to RH.
Here are things I’ve checked for:
· The project is large, with over 6300 topics and a compiled chm of 5560 KB. RH crashes when I try to apply style sheets or master pages to multiple topics from the Topic List. However, I created a much smaller test project with 122 topics and still get the dropped style.
· The style sheets were created outside of RH, and are also used for presenting the same content over the web outside of RH. The styles display fine in the other context through a browser. I have not modified the style sheet in RH, but I have opened it in RH. I’ve also tried deleting and re-copying the style sheet into the project.
· There is another set of styles applying to the tables, for table rows. There is a “tr” class for the heading and classes for rotating background colors. These child styles appear correct with no problems. Every row in a table belongs to a child class of row styles. In the case of table data styles, most cells require the parent “td” style and only a subclass require the child “desc” style. It’s the “desc” style that isn’t showing up in the chm. Is this a clue?
· Multiple style sheets per topic. Apparently only one style sheet can be used per topic. In my project, I have two types of topics, called schema pages and table pages, with a style sheet for each. The same master page is used for both types. The master page uses the tables style sheet. Therefore, the tables topics (the ones with the dropped style) use only one style sheet, but it is specified in both the master page and the topic itself. Is this a problem?
· Reviewing the style sheet in RH. When I inspect the style sheet through RH’s Project Manager, the table data and table row styles appear under “Other” and not under “Table.” Is this a clue?
The special formatting of the description cells in our table-heavy project is essential. I’ve spend days trying to troubleshoot this problem and would appreciate any help anyone can offer.



