#### 19.4.3 Specifying CSS for OmniHelp navigation frames

By default, OmniHelp CSS file ohctrl.css governs the appearance of text in the top and left navigation frames. You can edit this file to modify class definitions and CSS file names, or you can designate another CSS file for this purpose:

    [OmniHelpOptions]
    ; CSS default if browser detection fails
    CtrlCssName=ohctrl.css
    ; CSS for top and left (navigation) frames
    IECtrlCssName=ohctrl.css
    N6CtrlCssName=ohctrl.css
    N4CtrlCssName=ohctn4.css

The CSS file designated by CtrlCssName is used for top and left navigation frames, but only when the browser with which you view an OmniHelp project is neither a Mozilla-based browser (Netscape, Mozilla, or Firefox) nor Microsoft Internet Explorer.

If you specify a CSS file other than ohctrl.css for CtrlCssName, be sure the substitute CSS file provides all the default ohctrl.css classes.

For an interesting way to accommodate certain CSS differences among browsers, see:

http://wellstyled.com/css-underscore-hack.html

Previous Topic: 19.4.2 Understanding how CSS works in OmniHelp topics

Next Topic: 19.5 Customizing OmniHelp display features

Parent Topic: 19.4 Using CSS with OmniHelp

Sibling Topics:

19.4.1 Specifying CSS for topics in OmniHelp

19.4.2 Understanding how CSS works in OmniHelp topics