CSS Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Snake Doctor
    I'm Lenny2 Bitch
    • Mar 2001
    • 13449

    #1

    CSS Question

    I have CSS tags in the head of a webpage that makes visited images go grayscale.
    The problem is I also have some "bookmark now" images on the page that are clickable, and I don't want those to go grayscale after they're clicked because it looks like shit.

    Anyone know how I can override the CSS for these particular images?

    Thanks
    sig too big
  • Arty
    Confirmed User
    • Nov 2002
    • 880

    #2
    You can do that:

    that's normal links:
    a:link, a:visited{
    color: #FFFF00;
    }

    that's links in table "td"
    td a:link, td a:visited {
    color: #DD0000;
    }

    when you've placed that link in invisible table it'll use that instead...

    You may also use p, div and some other tags..

    Comment

    • Snake Doctor
      I'm Lenny2 Bitch
      • Mar 2001
      • 13449

      #3
      Originally posted by Arty
      You can do that:

      that's normal links:
      a:link, a:visited{
      color: #FFFF00;
      }

      that's links in table "td"
      td a:link, td a:visited {
      color: #DD0000;
      }

      when you've placed that link in invisible table it'll use that instead...

      You may also use p, div and some other tags..
      So could I use something like div style = none?
      sig too big

      Comment

      • Arty
        Confirmed User
        • Nov 2002
        • 880

        #4
        Kinda,

        If you wish to use div, try that:

        div a:link, td a:visited {
        color: #00FF00;
        }

        You must define a new color, because none will revert to original link color, so it'll have no effect.

        Comment

        • GigaXXX
          Confirmed User
          • Apr 2004
          • 872

          #5
          pas =)
          Free Domain Analysis Tool @ WebBoar.com. Domain worth, Same IP Domains, Google Analytics etc

          Comment

          • MarcyM25
            Confirmed User
            • Apr 2003
            • 788

            #6
            Just assign it a class, so you'll have class="classname" in your link tag, and
            a.classname:visited, a.classname:active {
            color: #FA785A;
            }
            in your CSS file.
            SweetSpicy Pornstars

            Comment

            Working...