http://www.candyundies.com/template_non_product.phpにテストページがあります。
Opera、FireFox、Safari、Chromeでは問題ありませんが、IE 8では、検索テキストボックスの横にある送信ボタン(GO)が、独自のdiv(search2)にあり、背景のdivの色の下にあります。z-indexを試しましたが、背景色の上に表示できません。私が間違っていることについて何か考えはありますか?
http://www.candyundies.com/template_non_product.phpにテストページがあります。
Opera、FireFox、Safari、Chromeでは問題ありませんが、IE 8では、検索テキストボックスの横にある送信ボタン(GO)が、独自のdiv(search2)にあり、背景のdivの色の下にあります。z-indexを試しましたが、背景色の上に表示できません。私が間違っていることについて何か考えはありますか?
たとえば、 position: absolute/relative と z-index 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.