Header and text color change in compiled topic view

This forum is for all Flare issues not related to any of the other categories.
Post Reply
dwag
Sr. Propeller Head
Posts: 158
Joined: Tue Feb 05, 2008 2:36 pm

Header and text color change in compiled topic view

Post by dwag »

I've done something and can't figure out what. When I create a new topic, the header and default text appear as normal (black) in the XML Editor; however, in the compiled topic, they're blue. When I apply a style class (feedback link) using the HTML bar, they return to their normal (black) colors in the compiled topic.

For all topics, I'm using a master page with a breadcrumbs proxy.

I've done the obvious and created a test topic and looked at the H1 and P styles but find nothing to explain why the header and text in a compiled topic appear blue unless I apply the aforementioned style class.
lacastle
Propellus Maximus
Posts: 1028
Joined: Thu Apr 12, 2007 7:28 am
Location: Wilmington, DE
Contact:

Re: Header and text color change in compiled topic view

Post by lacastle »

dwag wrote:When I apply a style class (feedback link) using the HTML bar
What do you mean by this?
Is the text just blue, or is it a hyperlink? Do you have any styles set to be blue in your CSS?
What kind of output are you generating?
rob hollinger
Propellus Maximus
Posts: 661
Joined: Mon Mar 17, 2008 8:40 am

Re: Header and text color change in compiled topic view

Post by rob hollinger »

Your target is using a medium.
Check that medium in the style sheet also.
Rob Hollinger
MadCap Software
dwag
Sr. Propeller Head
Posts: 158
Joined: Tue Feb 05, 2008 2:36 pm

Re: Header and text color change in compiled topic view

Post by dwag »

Thanks for the responses. I have a master page that contains a feedback link created with javascript (user clicks the link in the help topic, and an Outlook message window opens, with my e-mail address in the To: field and the help topic title in the Subject: field. To apply the master page, I right-click the HTML bar (or tag or whatever it's called) in the left margin of the XML Editor, select Style Class and apply the feedback master page.

The blue text is not a hyperlink.

I'm generating WebHelp.

The medium for the target and the stylesheet is the same: default.

Thanks, again.
i-tietz
Propellus Maximus
Posts: 1219
Joined: Wed Oct 24, 2007 4:13 am
Location: Fürth, Germany

Re: Header and text color change in compiled topic view

Post by i-tietz »

Could you post the source code of the topic in the help (after build)?
Inge____________________________
"I need input! - Have you got input?"
dwag
Sr. Propeller Head
Posts: 158
Joined: Tue Feb 05, 2008 2:36 pm

Re: Header and text color change in compiled topic view

Post by dwag »

Here it is. I'm guessing it has to do with the "style="color: #0000ff" part but haven't been able to find where to fix it in the stylesheet. Can't figure out or don't remember how it got there. Sorry, and thanks:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" style="color: #0000ff;" MadCap:disableMasterStylesheet="true" MadCap:tocPath="" MadCap:InPreviewMode="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" MadCap:PathToHelpSystem="../" MadCap:HelpSystemFileName="Logos Help File.xml" MadCap:SearchType="Stem">
<head><title>Test Topic</title>
<link href="Resources/Stylesheets/Styles.css" rel="stylesheet" />
<script src="SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
<body>
<h1>Test Topic</h1>
<p>All of the text in a new topic such as this one appears in blue until I add the master page with the feedback link.</p>
<script type="text/javascript" src="SkinSupport/MadCapBodyEnd.js">
</script>
</body>
</html>

(postscript: problem has been resolved; unfortunately, other than monkey madly around with the stylesheet and master page, I'm not sure what, exactly, I did to resolve it. Kept trying to save changes, but nothing appeared to change. Then closed project, reopened, and it was changed. Guess you had to be there.)
Post Reply