Image Attached to CSS Rollovers

Discussion in 'HTML & Website Design' started by rach99, Jan 30, 2008.

  1. #1
    Hello

    I have a css rollover navigation, which when a text link is rolled over a grey box appear. This all works fine. But what i need it when the grey box appears i need an image to also appear to the far left in a different div. So with each rollover and different image appears relating to each link.

    How would i do this using css?

    Or will i need to change my css to javascript?

    Thanks guys any help or guidance would be appreciated.

    Rachael
     
    rach99, Jan 30, 2008 IP
  2. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I dont believe that IE will support the :hover for an element that is not a anchor (a), so i guess that you will have to use some form of javascript.
     
    nicangeli, Jan 31, 2008 IP
  3. Ross1234

    Ross1234 Peon

    Messages:
    78
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    he is correct
     
    Ross1234, Jan 31, 2008 IP
  4. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #4
    ahh, how i love redundant posts.
     
    soulscratch, Jan 31, 2008 IP