HighDots Forums  

Getting hyperlink color?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Getting hyperlink color? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
KKramsch
 
Posts: n/a

Default Getting hyperlink color? - 07-12-2004 , 09:44 AM










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.

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Getting hyperlink color? - 07-13-2004 , 01:51 AM






KKramsch <karlUNDERSCOREkramsch (AT) yahooPERIODcom (DOT) invalid> wrote:

Quote:
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/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.