Each OmniHelp topic file includes in the <head> element a <script> tag that invokes script file ohmain.js. The ohmain.js script calls mainCSS() in parent-frameset script file ohframe.js, which in turn writes a CSS <link> into the topic file.
The CSS <link>
in the topic file specifies the value of mainCssName,
which is taken from project settings in myproj_ohx.js (see Table 10
As a result, you can see the effects of CSS in topic text only if both of the following are true:
• the HTML topic file you are viewing was generated by Mif2Go for OmniHelp (or you added the proper <script> tag to the topic file)
• you are viewing the topic in the OmniHelp frameset, not by itself in a browser.
Otherwise, the CSS <link> would not be set.