0

http://www.candyundies.com/template_non_product.phpにテストページがあります。

Opera、FireFox、Safari、Chromeでは問題ありませんが、IE 8では、検索テキストボックスの横にある送信ボタン(GO)が、独自のdiv(search2)にあり、背景のdivの色の下にあります。z-indexを試しましたが、背景色の上に表示できません。私が間違っていることについて何か考えはありますか?

4

2 に答える 2

1

たとえば、 position: absolute/relative と z-index 1 を追加すると、再び表示されます。(もちろん送信ボタンまで)

于 2012-05-09T18:48:39.690 に答える
1

You could set the z-index for this element through id or, better yet, set the backgrounds z-index to be beneath other elements and above the body if it's not the body itself, as you described.

于 2012-05-09T18:55:06.137 に答える