Copy link to clipboard
Copied
RH9, 9.0.1.232
My project uses breadcrumbs that are generated during compiling. In RH8, the breadcrumbs would be the a.link/a.visited/a.hover color, the links would be underlined, and the topic name + greater than characters would be black. Now, the links are not underlined anymore, and the topic name + greater than characters have changed to blue, which looks rather ugly with the styles I use.

RH8

RH9
I have tried using topic style while setting p.breadcrumbs and a.breadcrumbs to red, or not using topic style and setting the color to green (just to make sure the setting had any effect and to distinguish where the color came from). Alas, the blue stays put.
Inserting the breadcrumbs in the masterpage works as expected. Below two different breadcrumbs are generated, the bottom one one from the master page and the top one during compile:

The above has been generated with the following settings:
p.breadcrumbs { color: #ff0000;}
A.breadcrumbs { color: #ff0000;}
A:link {
color: #000000;
font-weight: normal;
font-style: normal;
}
A:visited {
color: #808080;
font-weight: normal;
font-style: normal;
}
A:hover {
x-on-hover: fontchange(color=#f5841f);
color: #f5841f;
}

Please note that the direct formatting is set to green AND left aligned, neither of which is used in the output. Please also note that blue does not occur anywhere in my settings (css nor direct formatting).
Where does the blue come from?? And more importantly, how do I get rid of it?? I'd rather not fix something with master pages that wasn't broken in RH8 to begin with. And even if I'm forced to, I still want to know where the blue came from 🙂
Copy link to clipboard
Copied
Forgot to mention: Using RH9 HTML that came with TCS3.
Copy link to clipboard
Copied
Hi Erwin, welcome to the community.
Which kind of breadcrumbs are you currently using? Are you using the Breadcrumb placeholder on the masterpage or are you using the breadcrumbs that RH can add when generating? (Or are you using both?)
Blue is the default colour used by browsers to indicate a link. (CHM uses IE.) My guess is that your HTML got changed and your 'old' styles don't apply to thye breadcrumbs anymore.Can you share the HTML of the incorrect breadcrumbs? Also, what happens if you generate WebHelp instead of a CHM?
Greet,
Willam
Copy link to clipboard
Copied
Webhelp gives the following output:
Format by topic level:

Here the top line becomes black as it used to be in RH8 (2nd line is again the master page variant using a breadcrumbs field in the header). Also left alignment is applied.
Format directly:

Here the direct formatting green is also applied.
(Screenshots taken from IE7)
So it seems that the problem lies in the .chm generation?
What do you mean with sharing the HTML? The topics themselves do not contain the breadcrumbs, as they are generated by the compiler or the master page. Do you want the HTML from the chm? If so, how do I extract that after compilation?
Thanks for your help so far!
Copy link to clipboard
Copied
Hi Erwin,
The problem could be in the CHM as a CHM uses HTML 4.01 instead of XHTML. XHTML forces stricter rules, although I'm not sure why upgrading from RH8 to RH9 would cause this.
With the HTML, I mean the HTML of the breadcrumbs in your output. (It's created by JavaScript.) In your generated CHM, open a topic and right click > show source. (Or 'Bron weergeven'. I guess you're Belgium/Dutch from your name. Am I correct?) This will show the source of the HTML file. Try to extract the relevant part of the HTML or if you can't find that, the complete HTML. I'll check that against the CSS you provided to see what's wrong.
Greet,
Willam
Copy link to clipboard
Copied
Yep, Dutch. But our Windows installation and programs are the English variants.
-----
<script type="text/javascript" language="javascript">var strHref = document.location.href;
var bc1=0;
var n1 = strHref.toLowerCase().indexOf("642b3b9347ca42c9b00b820c00c373fa=");
if(n1 != -1)
{
bc1 = strHref.substring(n1+33);
document.location.href = strHref.substring(0, n1);
}
</script>
<style title="hcp" type="text/css">
<!--
a.hcp1 { font-size:10pt;
font-style:normal;
color:rgb(0, 0, 255);
text-decoration:none;
text-align:right; }
span.hcp2 { word-spacing:normal;
font:6.0pt "Times New Roman"; }
img.hcp3 { border:none; }
-->
</style>
</head>
<body>
<p style="font-family: ; font-size: 10pt; font-style:normal; color: rgb(0, 0, 255); text-decoration:none; text-align: right"> <a href="../../Introduction/Reference/Welcome.htm" class="hcp1">Home</a> > <a href="Mounting_the_X_Changer.htm" class="hcp1">Installation</a> > <a href="Configuring_the_barcode_reader_software.htm" class="hcp1">Configuring the Software</a> > Calibrating the barcode reader</p>
<p style="text-align:right;" class="breadcrumbs"><a class="breadcrumbs" href="../../Introduction/Reference/Welcome.htm">Home</a> > <a href="Mounting_the_X_Changer.htm">Installation</a> > <a href="Configuring_the_barcode_reader_software.htm">Configuring the Software</a> > Calibrating the barcode reader</p>

-----
Strange that in the 2nd line (the master page line) the gray specifically takes over from the red, so the css link properties override the breadcrumbs properties (whether the p.breadcrumbs is placed above or below the a.link). In the web help the reverse is true: the whole line becomes red.
Same goes for the first line (generated during compile): the gray takes over from the blue that is specifically inserted as in-line formatting.
In the web help the opposite occurs (as you can see from the screenshot in my previous post): the whole line becomes red (or green).
Copy link to clipboard
Copied
Hi,
I hope Peter or Rick can jump in. I have RH8 and I'm afraid I won't be much help without a sample in RH9. This looks to me as setting in your SSL. As far as I can see in RH8, RH8 adds the inline styling when you have not checked "Use topic level format" in your SSL settings.
Does the same happen when you generate one of the supplied sample projects?
Greet,
Willam
Copy link to clipboard
Copied
Please see http://forums.adobe.com/thread/886241?tstart=0
Try setting up a new project but using your existing CSS. If you can recreate the problem there, you can send me the project. See the Contact page on my site.
See www.grainge.org for RoboHelp and Authoring tips
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more