Layering pictures.

Discussion in 'ASP .Net' started by Mr. Magic, Jan 4, 2010.

  1. Mr. Magic

    Mr. Magic Guest

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

    TIA - Jeff.
     
    Mr. Magic, Jan 4, 2010
    #1
    1. Advertising

  2. "Mr. Magic" <> wrote in
    news::

    > 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! |
    *******************************************
     
    Gregory A. Beamer, Jan 4, 2010
    #2
    1. Advertising

  3. Mr. Magic

    Hillbilly Guest

    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" <> wrote in message
    news:Xns9CF69E61BC8D4gbworld@207.46.248.16...
    > "Mr. Magic" <> wrote in
    > news::
    >
    >> 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, Jan 5, 2010
    #3
  4. On Jan 4, 10:30 pm, "Mr. Magic" <> 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
     
    Alexey Smirnov, Jan 5, 2010
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGF1bCBLZWVnc3RyYQ==?=

    Layering Images in ASP.Net 1.1

    =?Utf-8?B?UGF1bCBLZWVnc3RyYQ==?=, Mar 28, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    665
    darrel
    Mar 28, 2005
  2. Grzegorz Stasica

    Layering struts application

    Grzegorz Stasica, Feb 19, 2004, in forum: Java
    Replies:
    1
    Views:
    643
  3. Replies:
    7
    Views:
    576
    dorayme
    Jun 16, 2009
  4. Martin Raychev
    Replies:
    1
    Views:
    294
    Alvin Bruney [MVP]
    Mar 2, 2004
  5. news.verizon.net

    javascript layering? Maybe wrong question..

    news.verizon.net, Jul 9, 2003, in forum: Javascript
    Replies:
    1
    Views:
    98
    Chris Leonard
    Jul 9, 2003
Loading...

Share This Page