• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Heading style is suddenly no longer applied in RH8

Guest
Mar 15, 2010 Mar 15, 2010

Copy link to clipboard

Copied

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

Views

534

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 16, 2010 Mar 16, 2010

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2010 Mar 16, 2010

Copy link to clipboard

Copied

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2010 Mar 16, 2010

Copy link to clipboard

Copied

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 16, 2010 Mar 16, 2010

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp