Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CSS Styles for DIV tag

New Here ,
Sep 19, 2007 Sep 19, 2007
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???

Thanks,
Karen

Part of my style sheet for the DIV is similar to the following:
-------------------------------------------------------------------------------
426
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 20, 2007 Sep 20, 2007
LATEST
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,
Leon
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp