#### 31.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.

Previous Topic: 31.6.3 Customizing the CSS link tag

Next Topic: 31.7 Assigning CSS classes

Parent Topic: 31.6 Linking to alternate CSS files

Sibling Topics:

31.6.1 Selecting a CSS file at run time

31.6.2 Changing CSS files in the middle of a document

31.6.3 Customizing the CSS link tag

Table of Contents • Index