SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2009
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Link not styling properly

    Here is the page in question :

    http://pillow-scents.com/beta/site/benefits.html

    The problem is the first link on the text links at the bottom ("home"). It has the same class as the other links but is not styling properly (underlined, wrong color). It looks fine in Dreamweaver. When I change the HREF link from index.html to something else, it looks fine. I can't understand what would be causing this. Also "Free Sample" shows up styled improperly in Safari. All of the bottom links have the same class definition. Also, if you click "home", the "benefits" link on the bottom of the page is doing the same thing. Can someone please tell me what is causing this annoying problem and how to fix ?

    Thanks,
    Colin

  2. #2
    SitePoint Zealot
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    189
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Add the visited pseudo class
    Code:
    a.footer:link, a.footer:visited {
    	color: #8e77ae;
    	font-family:Arial, Helvetica, sans-serif;
    	font-size:9pt;
    	text-decoration:none;
    }

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2009
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahh DUH. Thanks dogFang!


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
  •