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

Changing Link colors

New Here ,
Jun 07, 2007 Jun 07, 2007

Copy link to clipboard

Copied

I would like to make Hypertext links and Popup links different colors as a visual queue for the user. Is it possible to set different colors for these links in RH 6? I looked in the Help, but it talks about text-only popups. I want to change plain ole' popups.

Thx,
Brenda

Views

567

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

correct answers 1 Correct answer

Community Beginner , Jun 07, 2007 Jun 07, 2007
Brenda:

You can add a class to the css file that shows different colors. For example:

A.pop:link { color: #0000FF; }
A.pop:visited { text-decoration: none; color: #0000FF; }
A.pop:active { text-decoration: underline; color: #FF0000; }
A.pop:hover { text-decoration: underline; color: #FF0000; }

Change the style sheet attributes (text decoration and color) to match your requirements. When you enter the link, just add the new class to the text. For example, <a class="pop" href (and so on).

Tom

Votes

Translate

Translate
LEGEND ,
Jun 07, 2007 Jun 07, 2007

Copy link to clipboard

Copied

Hi Brenda. They are just styles like everything else. Change the Hyperlink style to the characteristics you want in your style sheet. There are styles for active, hovered, visited and unvisited so you can change them all as you like.

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
New Here ,
Jun 07, 2007 Jun 07, 2007

Copy link to clipboard

Copied

Well, the problem I'm having is that if I change the hypertext color, it changes ALL of the links in the document. I'm being difficult and want the hypertext links to be one color and the popup links to be another. Is that possible?

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 Beginner ,
Jun 07, 2007 Jun 07, 2007

Copy link to clipboard

Copied

Brenda:

You can add a class to the css file that shows different colors. For example:

A.pop:link { color: #0000FF; }
A.pop:visited { text-decoration: none; color: #0000FF; }
A.pop:active { text-decoration: underline; color: #FF0000; }
A.pop:hover { text-decoration: underline; color: #FF0000; }

Change the style sheet attributes (text decoration and color) to match your requirements. When you enter the link, just add the new class to the text. For example, <a class="pop" href (and so on).

Tom

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
New Here ,
Jun 07, 2007 Jun 07, 2007

Copy link to clipboard

Copied

LATEST
Tom,

Thanks for the explanation. I'll give that a try!

Brenda

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