• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Custom bullet suddenly shown incorrectly when generated

Community Beginner ,
Feb 22, 2013 Feb 22, 2013

Copy link to clipboard

Copied

Please  help  - need fix!!

I'm working with RH 9 and have several projects based on the same CSS. Yesterday in one of the projects, one of my custom bullets suddenly became incorrectly depicted in view or generated form.

Everything looks fine in the editor but when viewed or generated, it changes. However only on of many custom bullets?

In the default CSS the bullets look similar in HTML:

This one works fine:

<ul>

<li class="p-tip"><p class="tip">Text.</p></li>

</ul>

This one is the troubled one:

<ul>

<li class="p-Vigtigt"><p class="Vigtigt"><span style="font-weight: bold;">Text.</p></li>

</ul>

Enclosed: screen shot of custom bullet in editor and in viewer

RH9 bullit transformation problem.jpg

Views

802

Translate

Translate

Report

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
LEGEND ,
Feb 23, 2013 Feb 23, 2013

Copy link to clipboard

Copied

HI,

What is the CSS definition for the list? I see two possible causes:

1. The image was removed from the project and the browser defaults back.

2. Your CSS definition is off.

Greet,

Willam

Votes

Translate

Translate

Report

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
Community Beginner ,
Feb 24, 2013 Feb 24, 2013

Copy link to clipboard

Copied

Thanks William,

I suspected as much, because I came to a dead end at any other avenue I tries.

What is it the screwes up the CSS? It happened out of the blue?

By thrawling the CSS in HTML mode I came across a discrepancy between: P and LLp list-style:url, see below:

P.Vigtigt {

line-height: Normal;

font-style: italic;

font-weight: normal;

x-next-class: ;

x-next-type: P;

margin-left: 14pt;

margin-bottom: 4pt;

margin-top: 10pt;

list-style: url(../../about.png);

}

LI.p-Vigtigt {

line-height: Normal;

font-style: italic;

font-weight: normal;

list-style: url(about2.png);

}

Now I know where to look, but I'm not happy with not knowing what triggered it? Does RH have a cache problem??

Votes

Translate

Translate

Report

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
LEGEND ,
Feb 25, 2013 Feb 25, 2013

Copy link to clipboard

Copied

Hi,

You cannot specify a list item image in the paragraph style. Remove it there and point to the correct image in the list style. This is a problem commonly found when upgrading from RH7 or prior to RH8/9. Did you by any chance upgrade?

As to what happened to the CSS, that's hard to tell. RoboHelp 9 sometimes has problems with some custom CSS, but that only occurs when you create your CSS manually. I don't know of CSS problems in RH that would cause this. Perhaps someone decided to do some CSS editing herself?

Greet,

Willam

Votes

Translate

Translate

Report

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
Community Beginner ,
Feb 26, 2013 Feb 26, 2013

Copy link to clipboard

Copied

Hey,

If I under stand you correctly, the "P.Vigtig{" entry above shouldn't have a "list-style: url(../../about.png);" entry at all!? But it should be present in "LI.p-Vigtigt {" ?? Should I weed these out in the CSS??

At the moment It looks like this - and works:

P.Vigtigt {

line-height: Normal;

font-style: italic;

font-weight: normal;

x-next-class: ;

x-next-type: P;

margin-left: 14pt;

margin-bottom: 4pt;

margin-top: 10pt;

list-style: url(about2.png);

}

LI.p-Vigtigt {

line-height: Normal;

font-style: italic;

font-weight: normal;

list-style: url(about2.png);

}

LI.P-Number {

line-height: Normal;

list-style: decimal;

Concerning upgrade, Yes we upgraded about 12 months ago, but haven't really had any snags? All projects were converted automatically the first time they were initiated.

And no, we never tampered with the CSS just resued the same for several projects? I'd enclose the CSS but  this is not supported, sorry!

Cheers,

Erik

Votes

Translate

Translate

Report

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
LEGEND ,
Feb 26, 2013 Feb 26, 2013

Copy link to clipboard

Copied

LATEST

Yes, the P.Vigtig should not have a list-style entry at all. Be sure to check out http://www.grainge.org/pages/authoring/lists/lists.htm that tells you everything you need to know about working with lists in RoboHelp.

Votes

Translate

Translate

Report

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