Possible Duplicate:
Css z-index problem
I have an issue where one image is infront of another and z-index doesnt seem to change it. I am trying to make it so the logo is on top of the gray bars image.
http://jsfiddle.net/vzPUw/
Can anyone explain to me why this is not working?
z-index only works with position : relative/absolute/fixed so give position:relative to your logo.
Updated
In this, I changed in the markup because we never put block element inside an inline element. <a> is an inline element & h1 is a block element.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With