Web Analytics Made Easy -
StatCounter CSS Help - CodingForum

Announcement

Collapse
No announcement yet.

CSS Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS Help

    Could anybody list the A: properties for links..

    A:active
    A:visited

    thats all that I know
    Younger is better, I think. Sometimes.

  • #2
    Hi, here are the various link states:

    A:link { color: red } /* unvisited links */
    A:visited { color: blue } /* visited links */
    A:hover { color: yellow } /* user hovers */
    A:active { color: lime } /* active links */

    boxer_1
    CodingForum Moderator
    "How did a fool and his money get together in the first place?"

    Comment


    • #3
      You also have other pseudo-selectors that CSS2 compliant browsers should support (which is only currently Gecko and Opera it seems) on any element:

      a:before
      a:after
      a:first-child
      a:first-letter
      a:first-line

      etc
      jasonkarldavis.com

      Comment


      • #4
        Originally posted by jkd
        You also have other pseudo-selectors that CSS2 compliant browsers should support (which is only currently Gecko and Opera it seems) on any element:

        a:before
        a:after
        a:first-child
        a:first-letter
        a:first-line

        etc
        Yes, to be complete, I left them out to try to avoid confusion (taking in too much at once), but technically, the pseudo-selectors probably should have been mentioned. Given that these selectors have very limited browser support, as you noted, I would only consider them as an 'at least i know them' element as opposed to implimenting them for a while (IMO) .
        boxer_1
        CodingForum Moderator
        "How did a fool and his money get together in the first place?"

        Comment


        • #5
          But they are incredibly useful when IE gets it act together .

          Content generation through CSS is quite cool. (with :before, :after, and content: property)
          jasonkarldavis.com

          Comment


          • #6
            http://www.w3schools.com/css/css_pseudo_classes.asp

            Comment

            Working...
            X