Skip to main content
March 15, 2010
Question

Heading style is suddenly no longer applied in RH8

  • March 15, 2010
  • 2 replies
  • 591 views

My colleague has been using a custom header style with no problems.  The other day, the style is suddenly no longer applied in preview.

The project and styled text appear as they should on my computer, but not his.

Coincidentally, an upgrade to Explorer 7 was made prior to the new issue, but not sure why that impacts the preview, and the upgrade doesn't impact the project appearance on my computer.

Does he need to reinstall Robohelp to fix this issue? 

Just in case, the style is:

P.01ProcessHeading {
font-weight: bold;
font-style: normal;
margin-bottom: 12pt;
margin-left: 0in;
border-bottom-style: Ridge;
font-size: 18pt;
color: #000000;
border-bottom-width: 2px;
border-bottom-color: #db281c;
font-family: Arial;
}

The HTML of the styled text is:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Adobe RoboHelp 8" />
<title>01 Adding Allergens</title>
<link rel="StyleSheet" href="..\..\default.css" type="text/css" />
</head>

<body>
<?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript"
        language="JavaScript1.2"></script><?rh-script_end ?>
<p class="01ProcessHeading">Topic Title&#160;&#160;&#160;&#160;&#160;<a
  href="02_Topic_title.htm"><img src="..\..\notepage.png" alt=""
           style="border: none;" width="16"
           height="18" border="0" /></a></p>

I wondered if charset=utf-8 might be a problem - mentioned on another forum topic, http://forums.adobe.com/message/1937722#1937722

This topic has been closed for replies.

2 replies

Peter Grainge
Community Expert
Community Expert
March 16, 2010

What output are we talking about?

I would start by creating a test project and checking that is still OK on your machine. If it is, zip up that project and transfer it to your colleagues machine and see what happens.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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
March 16, 2010

Good call Willam but curious why that would affect one machine.

If numbering is important to NorBec, is there a problem with simply putting the numbering after some alpha characters? Again, curious.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Willam van Weelden
Inspiring
March 16, 2010

My guess: Internet Explorer... IE6 is a very crappy browser and XHTML + IE>6 means better standards compliant rendering. The update to IE7 probably broke it.

Putting the numbers after one or two alpha characters is fine.

Greet,

Willam

This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

Willam van Weelden
Inspiring
March 16, 2010

Hi,

The name of the style starts with numbers. This is invalid CSS and is causing the problems. The best solution is to rename the style (don't use numbers if you can avoid it) and use a find and replace operation to correct the style in your project. (Make a backup first).

Search for all class="01ProcessHeading" and replace it with class="MyNewName".

You can validate your css by using the free W3C CSS validator: http://jigsaw.w3.org/css-validator/

Greet,

Willam

This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.