Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Layering pictures.

Reply
Thread Tools

Layering pictures.

 
 
Mr. Magic
Guest
Posts: n/a
 
      01-04-2010
I have a picture that I want to overlay another picture over it. How do I do
that?

TIA - Jeff.


 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      01-04-2010
"Mr. Magic" <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> 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! |
*******************************************
 
Reply With Quote
 
 
 
 
Hillbilly
Guest
Posts: n/a
 
      01-05-2010
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" <(E-Mail Removed)> wrote in message
news:Xns9CF69E61BC8D4gbworld@207.46.248.16...
> "Mr. Magic" <(E-Mail Removed)> wrote in
> news:(E-Mail Removed):
>
>> 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! |
> *******************************************


 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      01-05-2010
On Jan 4, 10:30*pm, "Mr. Magic" <(E-Mail Removed)> wrote:
> I have a picture that I want to overlay another picture over it. How do I do
> that?
>
> TIA - Jeff.


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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE -v- FF layering problem no@mail.thanks HTML 7 06-16-2009 11:50 AM
Layering Images in ASP.Net 1.1 =?Utf-8?B?UGF1bCBLZWVnc3RyYQ==?= ASP .Net 4 03-28-2005 08:54 PM
Layering in Photoshop Jimmy Smith Digital Photography 2 01-30-2005 03:02 PM
Layering struts application Grzegorz Stasica Java 1 02-19-2004 02:18 PM
javascript layering? Maybe wrong question.. news.verizon.net Javascript 1 07-09-2003 07:11 PM



Advertisments