SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    Web Design Addict
    Join Date
    Mar 2004
    Posts
    2,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What are these links doing are your browser?

    www.deronsizemore.com/test/portfolio.htm is the site I'm working with.

    If you check out the links along the right hand side of the page, the "graphics" link has an underline and the rest of the links do not have an underline. Is everyone else's browser showing the same thing here? I can't seem to figure out why only one link is underlined and the rest not.
    Deron Sizemore
    ----------
    My Sites: LogoGala | Golf Ledger (coming soon)
    Twitter: Deron Sizemore

  2. #2
    _ silver trophy ses5909's Avatar
    Join Date
    Jul 2003
    Location
    NoVa
    Posts
    5,466
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    The reason is you have visited all of the other links. When I first came to your page, all of the links were underlined. so I visited one of your pages and then came back here and that link was no longer underlined.
    Sara

  3. #3
    My true identity MaxS's Avatar
    Join Date
    Nov 2004
    Location
    New York
    Posts
    768
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ses5909
    The reason is you have visited all of the other links. When I first came to your page, all of the links were underlined. so I visited one of your pages and then came back here and that link was no longer underlined.
    Same thing is happening at my end.

  4. #4
    SitePoint Evangelist DMacedo's Avatar
    Join Date
    May 2004
    Location
    Braga, Portugal
    Posts
    596
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool

    Sara was more than explicit, you can decide if you want all underlined or not, and in your CSS stylesheet, where you have:
    Code:
    a:link {
     	color: #0066cc;
    }
    a:visited {
     	color: #0066cc;
    }
    a:hover {
     	color: #ff9900;
    }
    a:visited:hover {
     	color: #ff9900;
    }
    you can change to
    Code:
    a:link {
     	color: #0066cc;
     	text-decoration: none;
    }
    a:visited {
     	color: #0066cc;
     	text-decoration: none;
    }
    a:hover {
     	color: #ff9900;
     	text-decoration: none;
    }
    a:visited:hover {
     	color: #ff9900;
     	text-decoration: none;
    }
    OR
    Code:
    a:link {
     	color: #0066cc;
     	text-decoration: underline;
    }
    a:visited {
     	color: #0066cc;
     	text-decoration: underline;
    }
    a:hover {
     	color: #ff9900;
     	text-decoration: underline;
    }
    a:visited:hover {
     	color: #ff9900;
     	text-decoration: underline;
    }
    Well, or you can leave it as it is...

    BTW, I liked the design
    ~ Daniel Macedo

  5. #5
    Web Design Addict
    Join Date
    Mar 2004
    Posts
    2,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DMacedo
    Sara was more than explicit, you can decide if you want all underlined or not, and in your CSS stylesheet, where you have:
    Code:
    a:link {
     	color: #0066cc;
    }
    a:visited {
     	color: #0066cc;
    }
    a:hover {
     	color: #ff9900;
    }
    a:visited:hover {
     	color: #ff9900;
    }
    you can change to
    Code:
    a:link {
     	color: #0066cc;
     	text-decoration: none;
    }
    a:visited {
     	color: #0066cc;
     	text-decoration: none;
    }
    a:hover {
     	color: #ff9900;
     	text-decoration: none;
    }
    a:visited:hover {
     	color: #ff9900;
     	text-decoration: none;
    }
    OR
    Code:
    a:link {
     	color: #0066cc;
     	text-decoration: underline;
    }
    a:visited {
     	color: #0066cc;
     	text-decoration: underline;
    }
    a:hover {
     	color: #ff9900;
     	text-decoration: underline;
    }
    a:visited:hover {
     	color: #ff9900;
     	text-decoration: underline;
    }
    Well, or you can leave it as it is...

    BTW, I liked the design

    Thanks for the code. I knew I could either have them underline or not underline, but example being the left content area. All of the links in that area I did not specify text-decoration: underline; in the css file, I just specified a color and the default is suppose to already be underlined which is what I expected to happen with the right content area...I was kinda confused by that, but its not really a big deal I guess. I'll just force them all to be underline.

    Thanks for the complient on the design too!
    Deron Sizemore
    ----------
    My Sites: LogoGala | Golf Ledger (coming soon)
    Twitter: Deron Sizemore

  6. #6
    Web Design Addict
    Join Date
    Mar 2004
    Posts
    2,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay...can you tell me why this isn't working? You can view the portfolio page again and see it action, but I don't understand why it wont work...I've done this many times before. I've got to be leaving something small out!

    #choosedestinationlinks a:link, a:visited {
    color: #ffc77f;
    text-decoration: underline;
    }
    #choosedestinationlinks a:hover, a:visted:hover {
    color: #ff9900;
    text-decoration: underline;
    }
    Deron Sizemore
    ----------
    My Sites: LogoGala | Golf Ledger (coming soon)
    Twitter: Deron Sizemore

  7. #7
    SitePoint Evangelist DMacedo's Avatar
    Join Date
    May 2004
    Location
    Braga, Portugal
    Posts
    596
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Deron Sizemore,

    After you place a comma, you are basically "starting over" meaning the #ID you had before does not apply. This should work:
    Code:
     #choosedestinationlinks a:link, #choosedestinationlinks a:visited {
     	 color: #ffc77f;
     	text-decoration: underline;
     }
     #choosedestinationlinks a:hover, #choosedestinationlinks a:visted:hover {
     	 color: #ff9900;
     	text-decoration: underline;
     }
    (also you should place your code inside [ CODE ] tags)
    ~ Daniel Macedo

  8. #8
    Web Design Addict
    Join Date
    Mar 2004
    Posts
    2,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahh! Thanks. I knew it was something small I don't know why I couldn't see that myself. I always overlooks the small stuff.

    I'll remember to put the code in [code] tags next time too...just for you!

    Thanks,
    Deron
    Deron Sizemore
    ----------
    My Sites: LogoGala | Golf Ledger (coming soon)
    Twitter: Deron Sizemore

  9. #9
    SitePoint Evangelist DMacedo's Avatar
    Join Date
    May 2004
    Location
    Braga, Portugal
    Posts
    596
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is always something we can learn.

    The [CODE] tag is just so it's easyer to display the code and if necessary copy it for better viewing.

    ~ Daniel Macedo


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
  •