Closed Thread
Results 1 to 11 of 11

Thread: [CSS] hover

  1. #1
    Member Danzig is an unknown quantity at this point
    Join Date
    Feb 2002
    Posts
    98

    [CSS] hover

    Hi,

    Is it possible to use the hover function of css on other objects then a link? I would like to "hover" a table row(<tr>) but I haven't been successful in my attempts so far. So before I try poking around with the codes even more, I thought a bright idea would be to ask here if it possible at all.

    cheers

  2. #2
    FWS Addict Loon is an unknown quantity at this point
    Join Date
    Apr 2003
    Location
    London, U.K
    Posts
    691
    Yes, you can use the following

    Code:
    <tr onmouseover="this.bgcolor = '#CCCCCC'" onmouseout="this.bgcolor = '#DDDDDD'">
    or whichever colours you want

  3. #3
    Member Fab4 is an unknown quantity at this point
    Join Date
    Jan 2003
    Posts
    32
    slighty off topic here but just wanted to thank loon for the mouseover tutorial on his netcode page (or just a linked in the sig page, may not be his or hers for that matter).
    Took some work but I have some good looking buttons now.

    Thanks

  4. #4
    Junior Member sergeantrar is an unknown quantity at this point
    Join Date
    Aug 2003
    Location
    nyc
    Posts
    28

    hover

    i make my roll overs flip -
    A:hover {text-transform:none; height:0; filter:flipv}
    -rachel-
    http://fortylicks.net

  5. #5
    NLC Bruce is a glorious beacon of lightBruce is a glorious beacon of lightBruce is a glorious beacon of lightBruce is a glorious beacon of lightBruce is a glorious beacon of lightBruce is a glorious beacon of light Bruce's Avatar
    Join Date
    Dec 2000
    Location
    Maine
    Posts
    12,147

    Re: hover

    Originally posted by sergeantrar
    i make my roll overs flip -
    A:hover {text-transform:none; height:0; filter:flipv}
    CSS standards don't allow for the use of filters.
    ▀▄▀▄▀▄▀▄▀▄▀▄▀▄
    ▀▄▀▄▀▄▀▄▀▄▀▄▀▄

  6. #6
    FWS Addict Loon is an unknown quantity at this point
    Join Date
    Apr 2003
    Location
    London, U.K
    Posts
    691
    slighty off topic here but just wanted to thank loon for the mouseover tutorial on his netcode page (or just a linked in the sig page, may not be his or hers for that matter).
    Took some work but I have some good looking buttons now.

    Thanks
    happy to hear it helped

  7. #7
    Senior Member bloodyveins is an unknown quantity at this point bloodyveins's Avatar
    Join Date
    Mar 2003
    Location
    squid.conf
    Posts
    230
    you can find what element has pseudo class (eg. hover, active, etc.) by clicking this link: http://www.htmlhelp.com/reference/css/structure.html

  8. #8
    Junior Member sergeantrar is an unknown quantity at this point
    Join Date
    Aug 2003
    Location
    nyc
    Posts
    28
    i dont know to much about these "CSS standards don't allow for the use of filters" techinal terms. I do know that i edited my script and now my links do in fact flip-
    rachel-
    http://fortylicks.net

  9. #9
    NLC Bruce is a glorious beacon of lightBruce is a glorious beacon of lightBruce is a glorious beacon of lightBruce is a glorious beacon of lightBruce is a glorious beacon of lightBruce is a glorious beacon of light Bruce's Avatar
    Join Date
    Dec 2000
    Location
    Maine
    Posts
    12,147
    Originally posted by sergeantrar
    I do know that i edited my script and now my links do in fact flip
    No they don't.

    It's only some extra code MS created and doesn't work in anything but IE.
    ▀▄▀▄▀▄▀▄▀▄▀▄▀▄
    ▀▄▀▄▀▄▀▄▀▄▀▄▀▄

  10. #10
    unknown awayfromforum has a little shameless behaviour in the past
    Join Date
    Feb 2002
    Posts
    1,657
    I was starting to wonder why i didnt see anything flip on that site.

  11. #11
    Junior Member sergeantrar is an unknown quantity at this point
    Join Date
    Aug 2003
    Location
    nyc
    Posts
    28

    hover

    i have asked many friends about the hover on my site and not all but the majority see it flip-i am on internet explorer yes
    thanks for the input guys i'll keep it in mind
    -rachel-
    http://fortylicks.net

Closed Thread

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