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?
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
Copy link to clipboard
Copied
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.