Skip to main content
Known Participant
June 13, 2014
Question

TCS 5: Could someone explain RH's generated CSS for me?

  • June 13, 2014
  • 1 reply
  • 833 views

Hi all,

We are using TCS 5 to link FrameMaker books to RoboHelp and have invested a lot of effort and expense to create a custom CSS that supports HTML 5 and responsive web design. We have all our FM tags mapped to the style sheet, so that we can use automapping.

Our CSS is working well, but whenever I regenerate the help, RoboHelp replaces our style sheet in the generated project with something that looks like this fragment:

#rh_default_topic_placeholder_id p.TableBulletCompact::before {

                                                               content:\25A0\00A0;

                                                               content:■;

}

#rh_default_topic_placeholder_id p.BulletListCompact2::before {

                                                               content:\25A0\00A0;

                                                               content:■;

}

#rh_default_topic_placeholder_id p.BulletList2::before {

                                                        content:\25A1\00A0;

                                                        content:□;

}

#rh_default_topic_placeholder_id p.Subbullet1::before {

                                                       content:\25A1\00A0;

                                                       content:□;

}

Unfortunately, some of the features we've added to our style sheet don't work with RH's generated style sheet, but when I copy our original style sheet back into the project, things start working again. Maybe it's something in our original style sheet that RH doesn't like, but it's difficult to troubleshoot what it is exactly.

I assume there's no way to prevent RH from replacing our original style sheet, but I'm hoping someone has some experience and advice for how to handle this situation.

Thanks,

Steve

This topic has been closed for replies.

1 reply

Known Participant
June 13, 2014

Just to follow up on my own post with a little more information:

  • We do not use the RH's internal CSS editor at all.
  • RH doesn't change the CSS in the project's root directory at all, but the generated CSS has all those funky #rh_default_topic_placeholder_id lines and none of our original rules.
  • We're not trying to add any unusual functionality, just control bullets, margins, spacing, fonts, and so on.

Thanks again,

Steve

Jeff_Coatsworth
Community Expert
Community Expert
June 13, 2014

I don’t pay too much attention to all the css files in the project – I just slap on the “Apply to all” css in the generation process.

Known Participant
June 13, 2014

I do that, too, but that's not the problem. The problem seems to be with RH's generated CSS file, since our our original CSS works. I just don't want to have to copy in our original CSS every time I generate the project.