CSS, Links and Hovers
Posted: Tue Oct 07, 2003 3:37 pm
Can't seem to get this right. When showing a link in the "Feedhead" class (so called because it is a header for a feed, before anyone asks) it won't display the link in white, just red (as set earlier).
I have tried searching about for an answer on this, but I think it falls into the category of "What do you put in to look for that?"
So I thought I'd see if a kind expert could help. Here's the code:
As the links are within <td> brackets, does the css need to show something like this?:
Thanks in advance.
I have tried searching about for an answer on this, but I think it falls into the category of "What do you put in to look for that?"
Code: Select all
<style type="text/css">
<!--
P { font: 12pt times new roman, serif;}
H3 { font: bold 14pt times new roman, serif;}
H2 { font: bold 18pt times new roman, serif;}
H1 { font: bold 24pt times new roman, serif;}
A:link {color:#FF0000; TEXT-DECORATION: underline}
A:visited {color:#FF0000; TEXT-DECORATION: underline}
A:active { TEXT-DECORATION: underline}
A:hover{color:#a50400; TEXT-DECORATION: underline}
P.menu {font: 10pt Arial, sans-serif;}
P.visitors {font: bold 10pt Arial, sans-serif;}
P.printthispage {font: 9pt Arial, sans-serif;}
P.photo {font: bold 8pt Verdana, Arial, sans-serif;}
li.photo {font: bold 8pt Verdana, Arial, sans-serif;}
P.side {font: bold 14pt Arial, sans-serif;}
td { font: 12pt times new roman, serif;}
th { font: bold 12pt times new roman, serif;}
td.title {font: bold 18pt Arial, sans-serif;}
li { font: 12pt times new roman, serif;}
P.feed {font: 8pt Arial, Verdana, sans-serif;}
font.feed {font: 8pt Arial, Verdana, sans-serif;}
font.feedupdate {color:#C0C0C0; font: 8pt Arial, Verdana, sans-serif;}
td.feed {font: 8pt Arial, Verdana, sans-serif;}
td.feedhead {font: bold 10pt Arial, Verdana, sans-serif; color:#FFFFFF}
A.feedhead:link {font: bold 10pt Arial, Verdana, sans-serif; color:#FFFFFF}
A.feedhead:visited {font: bold 10pt Arial, Verdana, sans-serif; color:#FFFFFF}
A.feedhead:active {font: bold 10pt Arial, Verdana, sans-serif; color:#FFFFFF}
A.feedhead:hover {text-decoration: underline; color:#FFFF00}
-->
</style>Code: Select all
td.A.feedhead:link {etc.}