Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Z-index rendering bug in Chrome 19?

I have a dropdown menu on a site that was displaying correctly in all browsers including Chrome up until recently. Now in Chrome 19 it is rendered behind another element even though they both have positioning and the menu has the higher z-index.

See image of top right corner:

enter image description here

And here is the site: http://www.mediaplanet.com/international/

Is this a rendering bug or is something wrong with my code?

like image 380
Testil Testilsson Avatar asked May 22 '12 13:05

Testil Testilsson


1 Answers

In your style.css stylesheet, set a z-index of 9999 to #header .row and that should do it.

Currently it is:

#header .row {
  position: relative;
  overflow: visible;
}

It works for me in Chrome 19 if you change it to:

#header .row {
  position: relative;
  overflow: visible;
  z-index: 99999;
}

That should do the trick! :)

like image 69
Zach Reed Avatar answered Sep 21 '22 16:09

Zach Reed