9 Replies Latest reply on Sep 23, 2010 11:26 PM by Amebr

    Style sheet not attached in compiled webhelp but is in Editor

    Teri White Level 1

      We have RH8 and have noticed that in compiled webhelp, a few random topics are missing their style sheet.  In the editor the style sheet is attached and in Preview the topic appears as it should.

       

      The stylesheet is in the output folder where it should be.  There are no extra copies of the stylesheet hiding in folders that could be causing problems.

       

      We have even checked the box on the compiling box for "Additional Options" - apply stylesheet to all topics.  It does NOT fix the problem.

       

      In the Topic List I selected all topics, and reselected the custom stylesheet.  This did NOT fix the problem.

       

      To fix the issue we have to 1) apply the default.css stylesheet, then 2) apply the custom stylesheet to the specific topic.  This fixes the issue.

       

      When we look at the code for the topic the change we see is this:

       

      BAD (no style sheet appearing in compiled webhelp):

      <link rel="StyleSheet" href="../../LifeSupport.css" type="text/css" />

       

      GOOD (stylesheet appears in compiled webhelp):

      <link rel="StyleSheet" href="..\..\LifeSupport.css" type="text/css" />

       

      The difference is the direction of the \

       

      Why would this matter and how can we proactively find and fix these topics?

       

      Thank you so much for your help & advice!