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

Font size of numbers for numbered lists is wrong, but only in tables

Explorer ,
Oct 17, 2014 Oct 17, 2014

Copy link to clipboard

Copied

In my compiled RoboHelp 11 HTML project (.chm), the numbered lists in the text correctly show 9 pt numbers, but the numbered lists in tables show 12 pt numbers. Both show 9 pt numbers in RoboHelp.

The CSS file has these definitions for numbered lists:

P.Numbered-List {

  font-family: Arial;

  font-style: normal;

  font-variant: normal;

  font-size: 9.0pt;

  text-indent: 0.0pt;

  margin-right: 0.0pt;

  margin-top: 4pt;

  margin-bottom: 4pt;

  margin-left: 0pt;

}

LI.P.Numbered-List {

  font-family: Arial;

  font-style: normal;

  font-variant: normal;

  font-size: 9.0pt;

}

To make a numbered list, I apply my "Numbered-List" paragraph style, click the Create a Numbered List button, then select the P.Numbered-List style from the Custom tab in the Bullets and Numbering dialog. If I make a numbered list with the Available Style "(none)" selected, it still gives 12 pt numbers, but only when the list is in a table.

For lists in and outside of tables, the preceding HTML code is this:

<li class="P.Numbered-List"><p class="Numbered-List">

Any ideas as to why the compiled help shows 12 pt numbers for lists in tables?

Views

903

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 Expert ,
Oct 19, 2014 Oct 19, 2014

Copy link to clipboard

Copied

You seem to be creating lists from paragraph styles rather than using Rh's list styles. I suspect that is where the problem originates. See Lists on my site.

Come back if stuck after reading that.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

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
Explorer ,
Oct 20, 2014 Oct 20, 2014

Copy link to clipboard

Copied

LATEST

Thanks for your response, Peter. There's lots of helpful stuff on your site! 

Friday I reapplied numbered list styles to the lists in tables (Format > Lists > Bullets and Numbering > Custom tab), and they seem to be working now. If my lists go haywire again, I'll look more closely at the CSS.

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