SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2003
    Location
    Boone, NC
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Different colored links?

    Is it possible to have a link be white on one part of a page and then be blue later on in the same page? How?

    _____
    Scott

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Yes it's possible! Just assign the link a different CSS class:

    CSS code:
    Code:
    a {
      color: blue;
    }
    a.other {
      color: white;
    }
    HTML code:
    HTML Code:
    <a href="page.html">Blue link</a>
    <a href="page2.html" class="other">White link</a>

  3. #3
    SitePoint Member
    Join Date
    Aug 2003
    Location
    Boone, NC
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you so much!!

    _____
    Scott


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
  •