html - Placing an image behind a div -


i'm trying place image (the bamboo) behind div (contact form) using "z-index".

however, image pushing div out of way.

page can seen here: http://www.abijahchristos.com/sample/springspa

jsfiddle here: http://jsfiddle.net/abijah/4n9lz/

you can use background property it.

try not need z-index

.copy_right { background: url("../images/bamboo1.png") repeat scroll 0 0 transparent; border: 2px solid #cccccc; border-radius: 4px 4px 4px 4px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); float: left; height: 310px; margin: 0 25px 0 30px; padding: 5px 0 0; width: 310px; z-index: 2; } 

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

c++ - Accessing inactive union member and undefined behavior? -

php - Get uncommon values from two or more arrays -