Skip to main content
Inspiring
February 15, 2007
Question

font of numbers does not match style of numbered list

  • February 15, 2007
  • 5 replies
  • 736 views
We have an HTML compiled help project where the numbers do not match the font of the numbered list when viewing the compiled help. I tried the procedure outlined in knowledge base article rb_45967 to change the font in the background and text style but that has not corrected the problem. Any ideas? Thanks
This topic has been closed for replies.

5 replies

Inspiring
February 22, 2007
Thanks for the tip, Peter!
Diana
Peter Grainge
Community Expert
Community Expert
February 22, 2007
It was caused by the style sheet having two definitions for LI plus a number of other issues.

Best advice is to use something like TopStyle to edit style sheets.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
February 16, 2007
Import one of the topics into a new project, use the same style sheet and then zip that up and send it to me via my site.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Inspiring
February 22, 2007
Did you find a solution to this yet? We had this happen, too. I was able to fix it by renaming the CSS file to default.css, which tricked RH into not returning to a default style sheet somewhere in the code. (I think I may have gotten this idea from someone on the forum awhile back--sorry, I can't remember who should get the credit.)

This fixed the problem everywhere except numbered lists within tables. I'd love to know if there is a way to fix those, too.

Thanks,
Diana
Peter Grainge
Community Expert
Community Expert
February 16, 2007
This is the link for anyone wanting to see the article.

http://www.adobe.com/go/rb_45967
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
February 16, 2007
Welcome to the forum

It should be as case of defining what you want in your style sheet, something like:

OL {
font-size:10pt;
margin-left:0.35in;
margin-top:0pt;
margin-bottom:0pt;
font-family:Verdana, sans-serif; }

I haven't looked at the article you refer to (helps if you create a link to it) but if that is much the same, then it looks like an inline style is overriding what is in your style sheet.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
ndhelpAuthor
Inspiring
February 16, 2007
Thank you Peter.

The odd thing is that in my stylesheet does have the 10pt font defined and yet all the numbers in my project are coming up with the numbers in a 12pt font. I have done a find in the stylesheet and the topic code for 12pt and do not find anything. All my body styles and numbered list styles are defined as 10pt.

If I change inline formatting of the numbered list to 12pt and then back to 10pt and compile, it looks fine. I hate to do that for every topic with a numbered list.

The behavior is the same for topics created before the stylesheet was changed and ones created under the new stylesheet. Any thoughts?