HighDots Forums  

links, vlinks, alinks

alt.html.tags alt.html.tags


Discuss links, vlinks, alinks in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
J i m b o
 
Posts: n/a

Default links, vlinks, alinks - 12-15-2003 , 02:24 PM






I have defined links, vlinks, and alinks in the <body> tag, but there is a
section of text within a table that I need to define with different link
colors due to the cells background color. What are some possible solutions?








Reply With Quote
  #2  
Old   
J&D
 
Posts: n/a

Default Re: links, vlinks, alinks - 12-15-2003 , 05:31 PM






Simply, with CSS.

in the css file write


a {color:red;}
a:hover{color:blue;}
a:visited{color:green;}

td a {color:silver;}
td a:hover{color:yellow;}
td a:visited{color:black;}


J&D

"brucie" <brucie01 (AT) bruciesusenetshit (DOT) info> píse v diskusním príspevku
news:brl85v$4b15j$1 (AT) ID-117621 (DOT) news.uni-berlin.de...
Quote:
in post <news:ALoDb.2497$ou2.845 (AT) fe08 (DOT) private.usenetserver.com
J i m b o said:

I have defined links,

we know

Crosspost, don't multipost
http://oakroadsystems.com/genl/unice.htm#xpost


--
brucie
16/December/2003 07:12:46 am kilo


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

Default Re: links, vlinks, alinks - 12-17-2003 , 03:46 AM



"J&D" <j.dudik (AT) tiscali (DOT) cz> wrote:

Quote:
Simply, with CSS.
To every complicated question, there is an answer that is simple, easy,
pleasant, and completely wrong. But without going into details, I just
wish to remark that the reply was posted into a wrong group and used
the upside-down fullquoting style, so it would be have been surprising
if the answer had been correct.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html




Reply With Quote
  #4  
Old   
Gazza
 
Posts: n/a

Default Re: links, vlinks, alinks - 12-17-2003 , 01:47 PM



On Tue, 16 Dec 2003 00:31:31 +0100, J&D (j.dudik (AT) tiscali (DOT) cz)
stood on a tall building and shouted:
Quote:
Simply, with CSS.

in the css file write


a {color:red;}
a:hover{color:blue;}
a:visited{color:green;}

td a {color:silver;}
td a:hover{color:yellow;}
td a:visited{color:black;}
Going OT:
Even if this CSS was the solution to the question asked, the answer is
wrong - the pseudo links are in the wrong order, as the visited style
needs to be before the hover style for the (supported) cascading to work
as designed.
:link
:visited
:hover
:active

Gazza


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.