Skip to main content
Known Participant
Oct 17, 2014 11:06 PM UTC
Question

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

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?

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

2 replies

Peter Grainge
Community Expert
Community Expert
Oct 19, 2014 1:43 PM UTC

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

Translate
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
-TamiAuthor
Known Participant
Oct 20, 2014 5:13 PM UTC

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.

Translate