I needed a link in the tfoot part of a table to be white, while links  
in the body were black. So I defined a rule for tfoot a:link. That  
did it in Dreamweaver. But Safari showed the link in default blue.  
Blue on red is a mess.

Intermediate practitioner that I am, I spent two hours trying to  
ferret out the solution. Looking in CSS and JS files. Piling code on  
top of code foolishly. Nope.

Then I picked up Craig Grannell's "CSS and HTML Web Design" and found  
my way to p157. To a graf headed by "The difference between a and  
a:link". [a applies to all anchors; a:link only to clickable ones]

In that paragraph were these words: "However, if you define a:link  
instead of a, you then must define the visited, hover and active  
states, otherwise they will be displayed in their default appearances."

Bingo!

Mr. Grannell is hereby my nomination for Man of the Moment. Do I hear  
a Second?

(There is a sibling award for Woman of the Moment and even a rather  
amorphous award for Person of the Moment - but I am nominating for  
Man of the Moment because it alliterates...)

Chuck M



______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to