Jump to content

Recommended Posts

I'm pulling member images from the database and displaying them and I'd like to decorate how the image is displayed with an additional image, like a frame, placing it behind the member image. See this example: http://www.rateometer.com/images/vignette_bkgd.gif

 

The 1st picture is the frame image. The 3rd picture is how it will look if I place the frame image in the background. The 2nd picture is how it will look if I can place the frame image at the top of the member image, which would look much better. The question is, can that be done? If so, how?

 

Thanks in advance.

hmmm this may be a kludge or div-itis, but try it out. (you fill in the blanks)

 

.pic_container{

height: ;

width: ;

position: relative;

z-index: 1;

}

 

.pic_border{

height: ;

width: ;

position: absolute;

top: 0;

left: 0;

z-index: 10;

}

 

 

<div class = "pic_container">

<div class = "pic_border">

</div>

<img src="..." />

</div>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.