CSS Gurus Help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ca$h
    Confirmed User
    • Jan 2005
    • 495

    #1

    CSS Gurus Help!

    <style TYPE="text/css">
    <!--

    body {bgcolor=#000000; font-size:10pt; color: #ffffff; font-family: Arial, Helvetica, sans-serif}
    td {font-size:16pt; color: #ffffff; font-family: Arial, Helvetica, sans-serif}

    A:link {text-decoration: none; color: #ffffff;}
    A:visited {text-decoration: none; color: #C4CB0E;}
    A:active {text-decoration: underline; color: #C4CB0E;}
    A:hover {text-decoration: underline; color: #C4CB0E;}

    --></style>

    Im using that CSS on my site, so ALL visited links are #C4CB0E
    Bu I don't want all visited links to be #C4CB0E

    For example I want:
    visited Link1 to be: #C4CB0E
    visited Link2 to be: #FFFFFF

    How do I make that possible with CSS??
    $oIo$
  • Bird
    Confirmed User
    • Jan 2005
    • 4365

    #2
    Change it to #ffffff
    ICQ:268731675

    Comment

    • Ca$h
      Confirmed User
      • Jan 2005
      • 495

      #3
      Originally posted by Bird
      Change it to #ffffff
      no more posts from you in this thread please
      $oIo$

      Comment

      • viki
        Confirmed User
        • Jan 2005
        • 2640

        #4
        a.link2:visited {text-decoration: none; color: #ffffff;}

        <a class="link2" href="domain.com">link text</a>

        adding .link2 or any name creates a class, which can then be activated in individual tags with class="link2." Hope this helps.

        viki [at] realsexcash [dot] com
        228 263 454

        Comment

        • Webby
          Too lazy to set a custom title
          • Oct 2002
          • 14956

          #5
          Originally posted by Ca$h
          <style TYPE="text/css">
          <!--

          body {bgcolor=#000000; font-size:10pt; color: #ffffff; font-family: Arial, Helvetica, sans-serif}
          td {font-size:16pt; color: #ffffff; font-family: Arial, Helvetica, sans-serif}

          A:link {text-decoration: none; color: #ffffff;}
          A:visited {text-decoration: none; color: #C4CB0E;}
          A:active {text-decoration: underline; color: #C4CB0E;}
          A:hover {text-decoration: underline; color: #C4CB0E;}

          --></style>

          Im using that CSS on my site, so ALL visited links are #C4CB0E
          Bu I don't want all visited links to be #C4CB0E

          For example I want:
          visited Link1 to be: #C4CB0E
          visited Link2 to be: #FFFFFF

          How do I make that possible with CSS??
          Suppose it depends how much there is ya want to change from the default css, but you may want to add additional options in your css for extra link styles eg

          .linkstyle1 a, .linkstyle1 a:link, .linkstyle1 a:visited { color: #000099; }
          .linkstyle1 a:hover { color: #000000; }

          (adjust colors to whatever)

          and span them on the acutal page.
          XXX TLD's - Another mosquito to swat.

          Comment

          • Webby
            Too lazy to set a custom title
            • Oct 2002
            • 14956

            #6
            Exactly viki
            XXX TLD's - Another mosquito to swat.

            Comment

            • Abbie Bueller
              Confirmed User
              • Jul 2003
              • 160

              #7
              What he said.

              The AbbieCash Porn Network. Join our affiliate program today.
              50% RevShare per sign up recurring. Billing processing by CC*Bill. [2257]
              RealDollSex | GamerChicks | ModelTexans | ModelRussians | HottieCams | AsianSoloGirls

              Comment

              • Basic_man
                Programming King Pin
                • Oct 2003
                • 27360

                #8
                Originally posted by viki
                a.link2:visited {text-decoration: none; color: #ffffff;}

                <a class="link2" href="domain.com">link text</a>

                adding .link2 or any name creates a class, which can then be activated in individual tags with class="link2." Hope this helps.

                Good answer. And if doesn't work this way, try this :

                <a href="domain.com"><span class="link2">Llink text</span></a>
                UUGallery Builder - automated photo/video gallery plugin for Wordpress!
                Stop looking! Checkout Naked Hosting, online since 1999 !

                Comment

                • Ca$h
                  Confirmed User
                  • Jan 2005
                  • 495

                  #9
                  GREAT

                  Thanks to everyone!!!
                  $oIo$

                  Comment

                  Working...