Skip navigation
Currently Being Moderated

IE problems rendering horizontal menubar with background images.

Jul 11, 2011 8:22 AM

Problem:

IE not rendering www.glidingswans.co.uk horizontal menubar as planned.  Firefox, Safari and Chrome all render as planned.

 

I have a horizontal menubar in a div.  The div has a full width background image of a purple bar.

 

Planned:

  • Mouse hover / item selected - the menu items should show a grey background image and black text.
  • When the item is not selected / mouse hover - the purple bar background image should show with white text. 

 

Actual IE rendering:

  • When item not selected / mouse hover - the purple bar is not showing, a white block is showing.

 

 

Recent changes:

I recently made some changes to the top right hand corner of the pages.  In each page I inserted a right floating div (into the header div) with a page specific ID selector to hold a background image.  I then inserted a transparent gif in the div (to deter right click coping of the images).  Prior to that the image had been inserted in the header div, to the right of logo div.

 

The site was rendering fine in all above browsers until I made this change.

 

 

I would be grateful of any help.

 
Replies
  • Currently Being Moderated
    Jul 11, 2011 4:43 PM   in reply to Oh happy days

    Change the colour in the following style rule to transparent - near the bottom of SpryMenuBarHorizontal.css

    @media screen, projection
    {
         ul.MenuBarHorizontal li.MenuBarItemIE
         {
              display: inline;
              f\loat: left;
              background: #FFF;
         }
    }

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2011 9:55 AM   in reply to Ben Pleysier

    Thanks!, this was killing me.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points