SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Visited links black in Firefox and IE

    Can't figure out why visited links in the top nav turn black in firefox and IE.

    See:
    http://www.intouch.webatu.com/

    Thanks for any help!

    Code CSS:
    /*--------Nav---------*/
    #nav {
    	height: 31px;
    }
    #nav ul {
    	margin: 0;
    	padding: 0;
    	float:left;
    	list-style: url(none) none;
    	width: 628px;
    }
    #nav li {
    	display:inline;
    	float:left;
    }
    #nav li a:link, #nav li a:visited {
    	display:block;
    	color: #FFF;
    	height: 22px;
    	text-decoration: none;
    	background-image: url(../images/navbutton_bg.png);
    	background-repeat: no-repeat;
    	font-size: 12px;
    	width: 115px;
    	text-align: center;
    	padding-top: 9px;
    }
    #nav li a:hover, #nav li a:active {
    	background-image: url(../images/navbutton_bg-over.png);
    }
    /*--------Nav---------*/

  2. #2
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    It happened because it is being overridden in the cascade.
    On line 107 in your css you have this -
    Code:
    #subnav_right a:link, #nav li a:visited {
        color: #000;
        text-decoration: none;
        
    }

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oops! Thanks Rayzur!


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
  •