Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

22 Setting up CSS for HTML > 22.6 Linking to alternate CSS files > 22.6.4 Using an alternate CSS link tag for Netscape 4


22.6.4 Using an alternate CSS link tag for Netscape 4

Netscape Navigator 4.x plays better with CSS if the link to the style sheet specifies type="text/css1" instead of type="text/css":

<link rel="stylesheet" href="MyStyles.css" type="text/css1">

For example, tags <b>...</b> are ignored if the CSS entry for the class does not specify bold. If your HTML output will be viewed with Netscape Navigator 4.x, you can include the alternate link with this option:

[CSS]

; CSSLinkNS4 = No (default, required for CSS validation)

;  or Yes (NS 4.x)

CSSLinkNS4=Yes

Unfortunately, this breaks the W3C CSS Validator, which claims there is no style sheet.



22 Setting up CSS for HTML > 22.6 Linking to alternate CSS files > 22.6.4 Using an alternate CSS link tag for Netscape 4