Skip to main content
Inspiring
Sep 22, 2011 9:18 AM UTC
Question

No Sense to RH8 Styles

I'm trying to set styles in RH8 (especially multilevel lists) and cannot find the logic.

I create the style in RH, but cannot get enough control over indent and spacing. So I'm editing the CSS and every little change has unexpected results.

For example in the 2nd level, I don't want numbering so I changed the line to:

     x-lvl-2-type: ;

and RH inserts upper case letters to begin each line.

Any help?

This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

Peter Grainge
Community Expert
Community Expert
Sep 22, 2011 9:23 AM UTC

Take a look at Lists on my site.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Translate
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
rphox2003Author
Inspiring
Sep 22, 2011 9:38 AM UTC

Thanks. I looked at your site. But I think I have everything correctly defined.

Here's the style:

rh-list.FTProcSubStep {

x-lvl-3-type: lower-roman;

x-lvl-3-format: "<x>&c";

x-lvl-3-margin: 40px;

x-lvl-4-type: decimal;

x-lvl-4-format: "&o<x>&c";

x-lvl-4-margin: 60px;

x-lvl-5-format: "&o<x>&c";

x-lvl-5-margin: 80px;

x-lvl-6-type: lower-roman;

x-lvl-6-format: "&o<x>&c";

x-lvl-6-margin: 100px;

x-lvl-8-type: lower-alpha;

x-lvl-8-margin: 140px;

x-lvl-7-format: "<x>.";

x-lvl-7-margin: 120px;

x-lvl-9-type: lower-roman;

x-lvl-9-margin: 160px;

x-lvl-1-type: lower-alpha;

x-lvl-1-format: "<x>";

x-lvl-2-format: "<x>";

x-lvl-1-margin: 17.5pt;

x-lvl-1-p-class: bodytext;

x-lvl-1-p-tag: p;

x-level-count: 9;

x-lvl-2-type: ;

x-lvl-2-margin: 40px;

x-lvl-2-p-class: bodytext;

x-lvl-2-p-tag: p;

}

The lvl-1 does give a lower case letter. But lvl-2 gives an upper case letter instead of the no numbering that I want (

x-lvl-2-type)

Translate
Willam van Weelden
Inspiring
Sep 22, 2011 10:04 AM UTC

Hard to tell whether your RoboHelp Multilevel lists are correctly defined in the css. RoboHelp Multilevel Lists are not HTML lists and the style in your CSS is a RH interpretation and not CSS. So it's not that strange that the styles don't make sense I played around with the css but I gave up after a couple of minutes.

For RoboHelp Multilevel Lists, use the built-in style editor unless you want to be pulling your hear out in frustration. See Peter's site or some good info on RoboHelp Multilevel Lists and how to set them up with the style editor.

Greet,

Willam

Translate
rphox2003Author
Inspiring
Sep 22, 2011 9:23 AM UTC

One more thing - I just noticed when I make a change (via the CSS) to the style mention above, a totally unrelated style gets messed up.

Translate