SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,678
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    rollever menu problem

    hi,

    Im having a problem with a css rollover menu with image replacement...im doing normal images replacement and placing the rollover state in the same image and then pulling it in using background position on the rollover.....ive done it hundreds of times before but this time it just will not work in IE6....ive isolated it to make sure there are not other rules affecting it....funny thing is when it didnt work first time i copied some code from another site i have where the technique works fine....weird...

    Can anyone spot the problemo?

    Thanks
    Attached Files Attached Files

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,491
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    The problem is that you have used an underscore for a classname which has thrown IE. Change it to this.

    Code:
    #entrynav_holder li a.this_on em
    Code:
     class="this_on">

  3. #3
    SitePoint Wizard
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,678
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    aha! Hi Paul...thanks...its working kind of now....problem is when you rollover in ie6 the yellow version stays even when you roll off......then if you roll on another that also sticks...so i can get all five buttons to tunr yellow simultaneously and stay that way...weird?!?!

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,491
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    li a:hover{visibility:visible}


  5. #5
    SitePoint Wizard
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,678
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AHA thats it! thanks for your help paul


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
  •