[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Overlapping Images

Posted on 1998-12-04
5
Medium Priority
?
371 Views
Last Modified: 2010-04-09
Anyone know how to overlap one graphic onto a portion of another graphic? Would this entail dhtml or css? I would really appreciate the code. Thanks!
0
Comment
Question by:ehopkins
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 

Accepted Solution

by:
hualing earned 200 total points
ID: 1840214
you can define  class called "overlap" as :
<style type="text/css">
     <!--
       .overlap { position:relative;
                      top:...
                      left:...    
            }
      -->
</style>

insert the code after </title> before</head>

this class define a relative layer,and you can specify the top and the left overlap the original image.
good luck!

0
 

Author Comment

by:ehopkins
ID: 1840215
Can you be more specific [i.e., where to I made reference to image-01.gif and image-02.gif]? Thanks...
0
 

Expert Comment

by:hualing
ID: 1840216
please try this one:
<html>
<head>
      <title>Untitled</title>
      <style type="text/css">
     <!--
       <!--
       .img{ position:absolute;
                      top:10
                      left:10      
            }
      -->

            }
      -->
</style>

</head>

<body>
<img src="image-01"><div class="image"><img src="image-02.gif" </div>
</body>
</html>

0
 

Expert Comment

by:hualing
ID: 1840217
image-02 will at the absolute position which is 10 pix from top and left of the screen Overlap the image-01.
you can change any parameters which defined in<style>...
try?

have a nice weekend!

Hualing
0
 

Expert Comment

by:hualing
ID: 1840218
Sorry i must correct some errors :
try this:
<html>
<head>
<title>Untitled</title>
<style type="text/css">
     <!--
       <!--
       .img{ position:absolute;
                      top:10 ;
                      left:10 ;      
            }
      -->

            }
      -->
</style>

</head>

<body>
<img src="image-01"><div class="img"><img src="image-02.gif"></div>
</body>
</html>


0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question