Skip to main content
Known Participant
December 7, 2010
Question

General question about the 'hcp' styles in RH

I have often wondered what the 'hcp' styles are in RH HTML. They don't appear in the CSS files in my project but are liberally scattered about the HTML code. Why are they used by RH? Can I stop it from using them?

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

9 replies

Known Participant
January 4, 2013

Been struggling with this "hcp" issue for days now - trying to clean up  an HTML Help project that was converted from WinHelp (.hlp).  (Conversion cleanup not for the weak of heart )  Had the problem with some portions of some topics not complying with CSS as specified in the HTML. I was troubleshooting with View Source in Notepad.

I did check my definitions in the CSS for "p.hcp1", "p.hcp2", etc.  For font-size as 10.0 pt.  I did correct the "hcp4" class. That corrected a few places, I think.

But for a bunch of topics, I had to manually add style attributes to force it, and that worked.  But it involved checking each topic and correcting HTML.

One strange thing that seemed to be a problem - In the CSS, all paragraph ("p") tags had the attribute of "background-color: #ffffff ".  And there were problems in topics where paragraphs were "<p style="background-color: #ffffff".  So the "background-color: #ffffff" was specified in both the CSS and the topic's paragraph.  I spent most of one day in clearing out those in each topic.  (Luckily this is a medium-sized help system.)  Not sure what was up with that.

So I'm hoping to remember these issues if they show up again.  Anyone figure out anything else to clue us in on how to control the properties of the "hcp"s??  Please post any ideas or your experience, as in the above posts, which were quite helpful.

(I have this delusion that somehow I should get a reward for my intense efforts here - but we tech writers know better, right?? )

Thanks for your help.

Translate
RoboColum_n_
Legend
December 7, 2010

Hi David.

Can you give us an example?


  The RoboColum(n)   @robocolumn   Colum McAndrew
Translate
Peter Grainge
Community Expert
Community Expert
December 7, 2010

... and tell us which version of RoboHelp you are using.


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.
Known Participant
December 7, 2010

I am using RH 8.02...

Translate