Copy link to clipboard
Copied
I have a few topic pages which use the same CSS throughout the entire project.
It seems when I copy text from Word the formatting becomes embedded? and when I apply the correct style the format does not change.
OR
The format looks fine in design view but when previewed or generated the font formatting is changed.
I don't know enough about HTML code to see if there's something incorrect.
<body>
<?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"
language="JavaScript1.2"></script><?rh-script_end ?>
<h1>Attachments</h1>
The word attachments in the design view is in the correct format for Heading 1 - purple in color - when previewed or generated the font color changes to black.
Any ideas?
In your CSS file several of the styles have the colour incorrectly defined. For Heading 1 the colour is defined as
color: 5A2D7F;
It should be
color: #5A2D7F;
Add the hash sign to your CSS for any style where it is missing and you should be OK.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Hi
1. Image of top code attached.
2. Same result in new project new topic simply using the default text once format is applied.
3. Copied topic from original and same problem occurs.
Seems to be only heading 1 - the rest of the formatting is ok.
Thanks
Karen Voycey
Copy link to clipboard
Copied
No image. You have to insert with the camera icon above where you reply.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Hi
I was not online and didn't realize the email reply with attachment would not work.
Here's the code:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Originator" content="ImportDoc" />
<meta name="OriginalFile" content="Ops Guide_ePolicy Workflow Overview_for import to robohelp.docx" />
<meta name="MS-HAID" content="Attachments" />
<meta name="template" content="FAQ Template.htt" />
<meta name="generator" content="Adobe RoboHelp 9" />
<title>Adding an Attachment</title>
<link rel="StyleSheet" href="..\FAQ_Style_Sheet.css" type="text/css" />
</head>
<body>
<?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"
language="JavaScript1.2"></script><?rh-script_end ?>
<h1>Attachments</h1>
Copy link to clipboard
Copied
Try taking out the lines below but I doubt that will be the cause.
<meta name="Originator" content="ImportDoc" />
<meta name="OriginalFile" content="Ops Guide_ePolicy Workflow Overview_for import to robohelp.docx" />
You say the problem occurs between Design Editor and Preview. That I find difficult to understand as Preview is using the same styles as Design Editor.
Use the camera icon and add two screenshots showing us the difference.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Hi
Here are the requested images.
Karen
Copy link to clipboard
Copied
You say you have created the same result in a new project. Please zip up that project and send it to me. See the Contact page on my site.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
In your CSS file several of the styles have the colour incorrectly defined. For Heading 1 the colour is defined as
color: 5A2D7F;
It should be
color: #5A2D7F;
Add the hash sign to your CSS for any style where it is missing and you should be OK.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Hi
Thanks this worked. I will mark this as answered.
Karen