SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Web Enthusiast
    Join Date
    Jul 2000
    Location
    Western Massachusetts, USA
    Posts
    1,389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    wacko link color

    I must be missing something obvious. I have styled links thus:
    Code:
    a:link, a:visited {
        color: #0066FF; /*blue*/
        background-color: transparent;
        }
    Yet I can't get a link to display color white in this context:
    Code:
    #info a:link {
        color: #fff;/*white*/
        background-color: transparent;
        }
    HTML Code:
      <td id="info">
    <p>Newsletter services by <a href="http://www.clickbasics.com">clickbasics.com</a>.</p>
     </td>
    in this newsletter under preparation:
    http://www.clickbasics.com/soulfligh...0/2007_10.html
    What am I missing?

    The page validates in W3C HTML & CSS validation services.
    Last edited by paulcj2; Oct 9, 2007 at 17:45. Reason: Additional information
    Paul C.
    ClickBasics
    http://www.clickbasics.com

  2. #2
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    Instead of putting the id "info" i n your td, why not put it directly into the link?

    Code:
     <a href="http://www.clickbasics.com" id="info">clickbasics.com</a>
    I would also change the id to a class, just in case you want to use it elsewhere on the page.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  3. #3
    Web Enthusiast
    Join Date
    Jul 2000
    Location
    Western Massachusetts, USA
    Posts
    1,389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, it works OK on a different computer!!! Argh!!! I cleared my cache on this one, too. Now what more can I on this computer to prevent that from happening in the future?
    Paul C.
    ClickBasics
    http://www.clickbasics.com

  4. #4
    Web Enthusiast
    Join Date
    Jul 2000
    Location
    Western Massachusetts, USA
    Posts
    1,389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shyflower,

    Yes, I use the ID info to style the info row. (Using tables because this is a newsletter and CSS doesn't work so well from my experience.)

    And yes, I tried it as a class. It probably worked OK but I didn't know it because my computer was hiding it from me. See above.
    Paul C.
    ClickBasics
    http://www.clickbasics.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •