DRUPAL DIFFERS

bugs

IE vs Z-Index


Tags:

Every browsers bugs blog has an article about z-index bug in Internet Explorer. But it takes time to get what you really need to know about it. To get it right you first have to know what is z-index. Second, when working with IE compatibility just remember that this browser (6th, 7th) looks not at the z-index of the element you deal with, but at the element container's z-index. For example, there are two divs with the images inside each of them. Setting the z-index to the images won't make any sense for IE, but setting it to the divs certainly will. That's it.