Skip to main content
Participant
May 27, 2009
Answered

I need to globally update the syle for hyperlinks - can I?

  • May 27, 2009
  • 1 reply
  • 646 views

Our company hired a consultant to convert several large WinHelp projects to HTMLHelp. He used RoboHelp 7 for HTML. For the most part, things work pretty well, however, we recently discovered that a lot (and I mean hundreds) of the hyperlinks came across without formatting. I'm talking about the Character formatting for Hyperlink (unvisited), Hyperlink (active), etc.

This wouldn't be a problem if all the links were unformatted, but some of them are randomly formatted correctly with blue and underline. Plus, any new links created do have the proper formatting. I've attached an image that shows the problem.

I have tried reapplying the Character style - didn't work.

I can get the formatting on a link to change by right-clicking on the link and selecting Hyperlink Properties, and then just clicking OK on the Hyperlink dialog box without making any changes. But this doesn't work in every case and is unpractical for hundreds of links.

Does anyone know of a way to reapply styles globally?  Modifying the style using Format > Styles didn't work either. I even tried to fool RoboHelp by importing a "revised" style sheet, but that didn't work.

Help!

Sam

This topic has been closed for replies.
Correct answer Captiv8r

Hi there

Unfortunately you are in for a lot of sleuthing to determine what needs changing. From what you have described it would seem there is lots of in-line formatting on the links. As you have seen, if In-line formatting is present it won't matter a bit if you have something specified in a CSS file because In-line formatting will override it.

Wish I had better news to offer... Rick

1 reply

Captiv8r
Captiv8rCorrect answer
Legend
May 27, 2009

Hi there

Unfortunately you are in for a lot of sleuthing to determine what needs changing. From what you have described it would seem there is lots of in-line formatting on the links. As you have seen, if In-line formatting is present it won't matter a bit if you have something specified in a CSS file because In-line formatting will override it.

Wish I had better news to offer... Rick

SmericksAuthor
Participant
May 27, 2009

Thanks, Rick. My first inclination was to disagree, but then I remembered looking at the code and swearing. Then I got buried with trying to figure out why my Map IDs wouldn't stay mapped and promptly forgot about it. Once I had that problem solved, I came back to this one and started trying to find a magic bullet.  Sigh. Search and replace is going to become my friend, I fear.

Thank you for your prompt response and for not saying "Duh!"

Sam