Links using a are a bit weird, Try using the psuedo selectors instead.
table#dataTbl thead th :link, table#dataTbl thead th :visited, table#dataTbl thead th :link:hover, table#dataTbl thead th :visited:hover table#dataTbl thead th :link:active, table#dataTbl thead th :visited:active, Both IE and FF will use them correctly and remember to keep them in the sequence noted. LoVeHA :link and :visited are only rendered on <a href's so they are a good substitute. The property "a" can be a bit more loose since it can be applied to either an href or a name anchor. Sandy -----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 1:27 PM To: CF-Community Subject: CSS specificity question. What am I missing here? In my mind the second style block should apply to an anchor tag inside a th cell inside the #dataTbl table. But it does not without an !important declaration the browser (both IE and Firefox) instead apply the color form the first block. http://statisticsonline/collectionDetails.css a (line 30) { color: rgb(153, 0, 51); } table#dataTbl thead, table#dataTbl thead th a (line 127) { background-color: rgb(0, 0, 102); color: white; font-family: Verdana,Arial,Helvetica,sans-serif; } -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:183175 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54