Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: CSS Help

  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    FL
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer 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
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    573
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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

  • #4
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    573
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #5
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    But they are incredibly useful when IE gets it act together .

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

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Dallas, Texas
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •