1 Reply Latest reply on Sep 20, 2007 4:24 AM by MergeThis

    CSS Styles for DIV tag

    Cognethos Level 1
      I think I posted to a wrong category.
      Now I move my question to here...
      Hi all,

      I am trying to compile a chm file with some existing html files.
      The html files are fine and can be viewed correctly in a browser.

      After I compiled, it seems that the styles defined in the css file for the DIV tag cannot be read.
      I tried to view the html within RoboHelp and it shows fine.
      Only after the chm is generated, it does not show the background file I specified.
      I have DIV tag inside the Body tag, not in the Header.

      Does Robohelp have a problem translating the CSS styles for the div tag, or is there something weird going on???


      Part of my style sheet for the DIV is similar to the following:
        • 1. Re: CSS Styles for DIV tag
          MergeThis Level 4
          I believe your image call should be:

          background-image: url('tab_b.gif');
          background-repeat: repeat-x bottom;

          And, of course, the image must be in the same folder as the topic, otherwise, you need to include a relative path to it, such as:

          background-image: url('../tabimages/tab_b.gif');

          Good luck,