SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Apr 2003
    Location
    canada
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    links not showing

    Hi All,

    I'm having an odd problem that I've never had before.

    In the content of this page http://www.durhamtheatrefestival.com/gala.html

    You will see a section right beside the Tosca Banquet Hall logo where tickets are highlighted. Once you click on the link to go to another page and then you go back, the link is white but in my css file it is told not to be white. My footer links are somehow taking over my content links.

    here is a few lines of code to show what is going on. I have taken a look at this in firebug and found out that the footer links are taking over.

    Code:
    #content a:link, a:visited{
    	color:#00C;
    	text-decoration:none;
    }
    
    #content a:hover {
    	color:#222222;
    	text-decoration:none;
    }
    #footer a:link, a:visited {
    	color: #ffffff;;
    	font-size: 1.0em;
    	text-decoration: none;
    }
    
    #footer a:hover {
    	color: #cacaca;
    	text-decoration: none;
    	font-size:1.0em;
    }
    Any idea what is happening?

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,751
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Hi, when you use commas to combine rules, this
    Code:
    #footer a:link, a:visited {
    	color: #ffffff;;
    	font-size: 1.0em;
    	text-decoration: none;
    }
    Is the exact same as this
    Code:
    #footer a:link {
    	color: #ffffff;;
    	font-size: 1.0em;
    	text-decoration: none;
    }
    a:visited {
    	color: #ffffff;;
    	font-size: 1.0em;
    	text-decoration: none;
    }
    You have to add the #footer there to each rule you separate via commas, I hope you know what I mean lol . They are separate rules entirely .
    Always looking for web design/development work.
    http://www.CodeFundamentals.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
  •