Hover color not working on visited a and breadcrumb links

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
heffevuna
Propeller Head
Posts: 13
Joined: Mon Sep 13, 2010 1:39 pm
Location: Portland, Oregon, USA
Contact:

Hover color not working on visited a and breadcrumb links

Post by heffevuna »

I have set all pseudo class colors for all the link types I'm using to the following:

link/visited - light blue (same color)
hover/active/focus - pink (same color)

The trouble is that once a link is visited, the hover color no longer works. This seems to be the case in these places:

simple links (a)
breadcrumb links

But NOT (hover works on these types of links, even if they've been visited)
drop-down hotspot text
cross references.

Any clues as to why this is happening? I would like to ignore whether or not a link has been visited, and have the hover always work.

Thanks.
wclass
Propellus Maximus
Posts: 1238
Joined: Mon Feb 27, 2006 5:56 am
Location: Melbourne, Australia

Re: Hover color not working on visited a and breadcrumb links

Post by wclass »

The order that the links are defined in the CSS file make a difference - must be link, visited, hover, active (in cascading styles, the "nearest" style wins). Check the code of the CSS file and move them around if necessary.
For more details, have a look at W3 schools: http://www1.w3schools.com/css/css_pseudo_classes.asp
Margaret Hassall - Melbourne
heffevuna
Propeller Head
Posts: 13
Joined: Mon Sep 13, 2010 1:39 pm
Location: Portland, Oregon, USA
Contact:

Re: Hover color not working on visited a and breadcrumb links

Post by heffevuna »

Yep. That WAS it. I swear I looked at that a million times, but it must have been wrong in the stylesheet from many versions back in RoboHelp. I'm using the legacy stylesheet from an imported project, and they were in the wrong order. I ended up having to edit the stylesheet manually, since I can't get at that from inside Flare.

Thanks. It's always great when it's an easy fix.
Post Reply