1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Mar 2008
    Rep Power

    Gettin an image to rollover on "text" rollover

    OK, I have icons with text. The viewer can rollover the icon and see the changed state. The viewer can also rollover to the the changes state in the text. I need both changed states (i.e. image and text), to both change when one or the other is rolled over.

    Does my question make sense?
    Is there a fix for this in CSS?

    If so, then how?

  2. #2
  3. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    USA (verifiably)
    Rep Power
    You would need to change your selectors so that the ":hover" pseudo-class is a applied to a common ancestor, probably the closest one.
    Spreading knowledge, one newbie at a time.

    Learn CSS. | PHP includes | HTML Validator | CSS validator

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).

IMN logo majestic logo threadwatch logo seochat tools logo