Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

10 Generating OmniHelp > 10.4 Using CSS with OmniHelp > 10.4.3 Specifying CSS for OmniHelp navigation frames


10.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



10 Generating OmniHelp > 10.4 Using CSS with OmniHelp > 10.4.3 Specifying CSS for OmniHelp navigation frames