Have you tried going to the TrueCode (or HTML) view and removing the script reference in the table? What about the script code in the header? I would do this on a second copy of the topic or a backup copy of the project, then generate to see if it all got removed.
We have scripts in our template headers and the only way we can get to them is in the source topic's TrueCode/HTML view. The changes we make are carried over into the generated topics.
That looks like code from an output file rather than a source file.
The link above might help if that is the case.
See www.grainge.org for RoboHelp and Authoring tips
Thank you both for your answer in regards to the red script boxes. I will go into the code on the projects and remove the scripting code on these projects and see if this fixes the formatting issue on the tables.
After removing the script code from several of the topics and from within the tables, I am still having issues when inserting a row. The new row does not have the border formatting of the previous row and the margins are set to the far left. Is there something else in the code that I am needing to change or delete? I inserted a row and it appeared like the "class" tag was not added.
The previous row code is as follows:
<tr class=whs9 style="x-cell-content-align: top;" valign=top>
<td colspan=1 rowspan=1 class=whs12 style="width: 25%;" width=25%>
<td colspan=1 rowspan=1 class=whs13 style="width: 74.125%;" width=74.125%>
<p class=TableText>To delete the T-Number, change to Y and press either
F15 or F16.</td></tr>
The inserted row code is as follows:
<td colspan=1 rowspan=1 style="width: 25%;" width=25%>
<p class=TableText> </td>
<td colspan=1 rowspan=1 style="width: 74.125%;" width=74.125%>
<p class=TableText> </td>
1 person found this helpful
This looks a lot like the RoboHelp output, not like a source file. You're problem arises from the use of classes.
Although the class is (almost?) the best way to style a table, RoboHelp can't cope with them. Whenever you add an extra row in the table, RoboHelp doesn't know how to format it, because the styling is not inline, but maintained in a class.
If you want RoboHelp to automatically apply the correct styling, you will have to kill all table classes (NOT the paragraphs, just the TR and TD styles). As an example, change class=whs9 for style="whatever style you want to apply". You may however not be able to use a find and replace tool for this, for the whsx classes are automatically generated from inline styling when you create the (WebHelp) output.
To me, it looks like you didn't upgrade your project, but just started a new project and imported a WebHelp output. You may want to convert your project again, because correcting every topic by hand, even with a script, will be a lot of work.
Thank you. I did upgrade the projects from RoboHelp 5 using Visual Source Safe. The RoboHelp we are using now is RoboHelp 7.03.001 with RoboSource 3.1. Since I was not the original creator of this documentation, I will work with the user on eliminating the classes and using only the styles. The user has a special css applied to this project that is not our company standard.
We are considering upgrading to RoboHelp 8 once we have some training on it.
The class="whsx" denotes code from an output file. No amount of training is going to help you cope with this issue, which will be the case no matter what RH version you're using. For every class="whsx" you'll find tr.whsx in a style section inside the head section of an output file.
You must open a project's source files. There is no alternative.