Alex Rivera | Logout

Positioning and overlaying image on another image

Asked 2011-02-26T23:15:44.613
33

See how the tiny Facebook icon is positioned in the lower right-hand corner over another image?

enter image description here

How can I do that using a combo of HTML/CSS/Rails/Prototype!? An example would be great. Perhaps in jsfiddle.net.

Edit
Report

1 Answer

0

See my answer to this question.

The difference with your situation is that you don´t need any javascript if you don´t want to, you can just add divs to the html and position them absolutely on top of the photos.

I think I would personally add the divs using javascript anyway so that they don´t clutter the html.

answered 2011-02-26T23:25:33.947

Your Answer