Search code examples
csshtmlinternet-explorer-8submit-button

CSS IE 8 Issue: My submit button on search form is behind my div background color


I have a test page located at http://www.candyundies.com/template_non_product.php.

In Opera, FireFox, Safari and Chrome no problems, however in IE 8 my submit button (GO) located beside my search text box, which is in its own div (search2) is under the background div color. I have tried z-index but cannot get it to display on top of the background color. Any ideas what I'm doing wrong?


Solution

  • 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.