Skip to main content
mauraa89901210
Known Participant
January 25, 2017
Answered

Need CSS Help

  • January 25, 2017
  • 1 reply
  • 1047 views

I imported a Word doc into RoboHelp. The Word doc had its own style sheet, which was imported as well, but I created my own style sheet for the Help project and applied it to all topics.

I'm having two problems with my CSS:

  1. Having added a new style to my custom style sheet and applied the new style to a sentence or image, when I go back to see if the correct style is highlighted in the Style pod, it's not. It has always defaulted back to either "Normal" or "None."
  2. I created a style for a numbered list and a bulleted list, but although the style is set up to have little spacing between each number or bullet, the list always ends up with 14pt spacing. When I right-click on the text and look at the paragraph settings, I see that the Before: setting is 14pt. My style is not set up that way, so it seems that this other setting is overriding my style.

Many thanks for your help,

Maura

This topic has been closed for replies.
Correct answer Peter Grainge

I think you can just click the number or bullet icon in the toolbar to turn your selected text into a list. Don't worry, this won't* apply inline styling, it just applies the html ol/ul/li tags to turn your text into a list.

You don't really need to select a separate style (e.g. Normal) for the list, but you can if you want to. (Basically if you select Normal, it adds a p tag inside each li tag.)

If that looks fine, carry on, otherwise you can always post back with questions on how to customise the look and feel of your lists.

* well technically, in RH11 at least, it does add the type of number or bullet inline, such as disc or square, or decimal or roman numeral, etc, which is annoying but fairly minor and nothing you can do about it unless you want to manually code your lists.


Amber is correct that you don't have to select Normal but there is a reason for doing so. If you don't the browser used may have a different default font to the one you use for body text. What the user would then see is say Verdana 10pt if that is what you have chosen for your Normal paragraphs and the lists would be defined by their browser default, which could be Times Roman 12 point.

Hence in my work, when I use the list icon, I also select Normal to avoid that.

Hope we have resolved your issue.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

1 reply

Peter Grainge
Community Expert
Community Expert
January 25, 2017

Which version of RoboHelp are you using and are all the patches applied?

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
mauraa89901210
Known Participant
January 26, 2017

I am using RoboHelp 2015, which we just purchased in December 2016. I was unaware that there are patches for it.

Peter Grainge
Community Expert
Community Expert
January 26, 2017

What is happening is that when you import, RoboHelp creates a separate CSS for the topics created from the import. How to deal with that is described on my site. Allowing RoboHelp to link to your own CSS as part of the import is something I have been campaigning for. I thought I recently saw something about that being fixed but I cannot locate it now. That is something I am checking out but if there had been a change, it would be version specific.

You may have bought RoboHelp 2015 in December but once released the download stays the same and does not include any patches. You need to apply them for other reasons rather than this issue.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.