Results 1 to 2 of 2

Thread: how do you overlap an image

  1. #1
    Join Date
    Mar 2007
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how do you overlap an image

    How do you overlap an image

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    How do you overlap an image? Let me count the ways.

    - Shakespeare

    Um, kidding aside, there really are many ways to do that. None that I know of are purely HTML though. Perhaps the simplest is to put two images side by side and position the second one relatively to overlap the first using style:

    HTML Code:
    <img src="1st.gif" width="50" height="50"><img src="2nd.gif" width="50" height="50" style="position:relative;left:-10px;">
    That, for example would make two 50x50 images overlap by 10 pixels.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •