Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Layering pictures.

0 views
Skip to first unread message

Mr. Magic

unread,
Jan 4, 2010, 4:30:50 PM1/4/10
to
I have a picture that I want to overlay another picture over it. How do I do
that?

TIA - Jeff.

Gregory A. Beamer

unread,
Jan 4, 2010, 4:35:47 PM1/4/10
to
"Mr. Magic" <Muf...@NoWhere.Com> wrote in
news:eC5BmUYj...@TK2MSFTNGP02.phx.gbl:

> I have a picture that I want to overlay another picture over it. How
> do I do that?

you can stack divs with different z orders, etc. It is best if you
completely use CSS for layout, however.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************

Hillbilly

unread,
Jan 4, 2010, 8:41:08 PM1/4/10
to
Research absolute positioning [1] which as I recall is a requirement to use
a z-index attribute value which is used to identity wich bit plane or
"layer" each image will be displayed on.

[1] http://www.w3schools.com/Css/pr_pos_z-index.asp

"Gregory A. Beamer" <NoSpamM...@comcast.netNoSpamM> wrote in message
news:Xns9CF69E61...@207.46.248.16...

Alexey Smirnov

unread,
Jan 5, 2010, 4:52:08 AM1/5/10
to

Put 1st picture as a background and show 2nd one over it.

e.g.

<div style="background-image:url(1.png)"><img src="2.png" /></div>

Hope this helps

0 new messages