English 中文(简体)
z-index working in ie8, not ie7
原标题:z-index working in ie8, not ie7

For some reason, z-index is working for one particular element in IE8, but not in IE7 (or if I use the pseudo IE7 compatibility view while in IE8). It s working for all of the other elements. The only difference is that this element has a negative z-index, so I tried using a positive one of 1 and still, it s the only one not working.

不工作的部分是:

.passport {
    position: absolute;
    left: -130px;
    z-index: -2;
}

And it s attached to this image that s supposed to be underneath everything else:

<img src="http://www.blahblahblah.com/image.png" class="passport">

除此以外,还有2级和2级的“z-index”(这就是我为什么在尝试一个积极的指数时使用1级指数来看这是否有助于)。 由于现在该法典,这个形象的IS在8月国际独立实体中除别的东西,但正如我所说的那样,在7月国际独立实体中。 这并不是图象的实际途径,而是为了隐私的目的,我刚才在这里作了改动。

有什么想法可以造成这种情况? 我在网上看到的唯一解决办法是用z-index处理,该指数根本没有工作,或者在IE7,但并非IE8中工作,如果我发现一个似乎很接近的解决办法,那么解决办法就会帮助我,因为它建议使用立场:静态(我可以这样说,因为我需要是绝对的),或者与这一点毫不相干的其他事情,因为这样做会削弱手法和 j以及组合中的其他各种东西。

所有Im交易都是打断图像,别无选择。 我发现的可能有助于我理解的一件事是这个网站,但我不理解它意味着什么,而是通过不同的打字“内容”

我不知道这是否实际上与我的问题有关,但我看上去,我问,如果能够帮助的话,它意味着什么。 否则,一般问题是,这项工作在8年国际电子计算方法中进行,而不是在7月国际电子计算方法中进行。

我再次找了,这样,如果我只想简单回答,我就错了。 感谢!

最佳回答
问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

Drop down background url in Safari Issue

selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...

CSS specific for Safari

How do you target specifically safari in css with styles?

Aligning textarea in a form

Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

CSS problem with page footer

I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...

热门标签