I am working with a 500px by 400px “div” in javascript/html, and I wish to place a 750px by 600px image (made in photoshop) centered behind it as a border of sorts. Can anyone point me in the right direction to accomplish this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As I understood it, you want the image to show around the smaller div. You can also remove the white bg of the inner to have it show through.
http://jsfiddle.net/XJLTG/2/