CSS IE 8 Issue: My submit button on search form is behind my div background color
-
07-06-2021 - |
Question
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.
OTHER TIPS
Adding position: absolute/relative and z-index 1 for example will make it visible again. (to the submit button ofcourse)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow