467,076 Members | 960 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,076 developers. It's quick & easy.

Getting hyperlink color?



Suppose I want to set some color to match the color of (unvisited)
hyperlinks, whatever this color may be (without explicitly setting
this color, of course). How can I specify it?

Thanks,

Karl
--
Sent from a spam-bucket account; I check it once in a blue moon. If
you still want to e-mail me, cut out the extension from my address,
and make the obvious substitutions on what's left.
Jul 20 '05 #1
  • viewed: 3461
Share:
1 Reply
KKramsch <ka*******************@yahooPERIODcom.invalid> wrote:
Suppose I want to set some color to match the color of (unvisited)
hyperlinks, whatever this color may be (without explicitly setting
this color, of course). How can I specify it?


You cannot. Unfortunately there is no way to express such things in CSS.

If you wish to display normal text in unvisited link color, you can try
the horrendous kludge of using link markup and doing your best to prevent
it from looking and acting like a link - in all respects but the color.
But I wouldn't recommend that. You can remove underlining for example,
but only with the usual caveats, but you cannot e.g. remove the link from
tabbing order (though you can try to make it last in that order and try
to use JavaScript to prevent the link from getting focus).

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Martin Dew | last post: by
2 posts views Thread by John | last post: by
3 posts views Thread by Raja | last post: by
8 posts views Thread by Nathan Sokalski | last post: by
2 posts views Thread by John Kotuby | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.