SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question why doesnt this work??

    A:link {
    text-decoration: none;
    font-color: #000000;
    }
    A:active{
    text-decoration: none;
    font-color: #000000;
    }
    A:visited{
    text-decoration: none;
    font-color: #000000;
    }
    im tired of links who changes color when they've been visited. isint this the way to give the links the same color all the time??
    -imnewb-

  2. #2
    The Legend Indian's Avatar
    Join Date
    Nov 2001
    Location
    Gods' Own Country
    Posts
    890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A:link {
    text-decoration: none;
    color: #000000;
    }
    A:active{
    text-decoration: none;
    color: #000000;
    }
    A:visited{
    text-decoration: none;
    color: #000000;
    }
    Death --the last sleep? No, it is the final awakening.

    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion

  3. #3
    blonde.... Sarah's Avatar
    Join Date
    Jul 2001
    Location
    Berkshire, UK
    Posts
    7,442
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    or

    a.link, a.active, a.visited {color:black; text-decoration:none;}

    but some people actually prefer to see the different colours links, so that they know which pages they have visited, acessability issues and all that.
    Regular user

  4. #4
    SitePoint Member
    Join Date
    Mar 2002
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why not simply use:

    Code:
    a
    {
      text-decoration: none;
      color: black;
    }

  5. #5
    Posts rarely lloydi's Avatar
    Join Date
    Jan 2002
    Location
    Swindon UK
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or, if you really want all your links to be black and not underlined, why not just not have links. You've already hidden them quite well, and it will save you future maintainence headaches.

    I jest of course ...

    Personally, I believe a change in colour for visited links is useful, even if it does mean your site takes on a bigger colour palette. I tend to used tints of colours. i.e, A bright blue link may go to a slightly duller, less vivid blue. It should still fit colour-wise, but at least gives a visual hint of "You've already been here ..."

    It is a helpful thing to provide
    Build Your Own Web Site the Right Way!
    A beginners' HTML/CSS book with web standards at its heart
    The Ultimate HTML Reference
    A complete reference, in glorious hardback


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
  •