Skip to main content
Known Participant
October 17, 2014
질문

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

  • October 17, 2014
  • 1 답변
  • 976 조회

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?

이 주제는 답변이 닫혔습니다.

1 답변

Peter Grainge
Community Expert
Community Expert
October 19, 2014

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

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
-Tami작성자
Known Participant
October 20, 2014

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.