Professional Web Applications Themes

How to overlap pictures? - HTML & CSS

Hi, Does anyone know how to overlap pictures so that i can make the picture that is overlapping a link? Thanks, Fr0maL continued...

  1. #1

    Default How to overlap pictures?

    Hi,

    Does anyone know how to overlap pictures so that i can make the picture that is overlapping a link?

    Thanks,
    Fr0maL
    FromaL Guest

  2. #2

    Default Re: How to overlap pictures?

    I'm having a little trouble visualizing what you are trying to do. Can you
    say more?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "FromaL" <webforumsuser@macromedia.com> wrote in message
    news:dakgd6$qlc$1@forums.macromedia.com...
    > Hi,
    >
    > Does anyone know how to overlap pictures so that i can make the picture
    > that is overlapping a link?
    >
    > Thanks,
    > Fr0maL

    Murray *TMM* Guest

  3. #3

    Default Re: How to overlap pictures?

    ok, what i want to do is put a picture over another picture (forget about making it a link). Almost as if there are layers.

    Thanks,
    Fr0maL
    FromaL Guest

  4. #4

    Default Re: How to overlap pictures?

    You can position images just the same as you can position just about any
    page element using CSS, e.g.,

    <img style="position:absolute; top:150px; left:200px; z-index:1"
    src="foo.gif">

    however that method may not work well, depending on the rest of your page,
    and your skill with CSS.

    Why not just make a single image with the two graphics overlapped?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "FromaL" <webforumsuser@macromedia.com> wrote in message
    news:dambo0$jig$1@forums.macromedia.com...
    > ok, what i want to do is put a picture over another picture (forget about
    > making it a link). Almost as if there are layers.
    >
    > Thanks,
    > Fr0maL

    Murray *TMM* Guest

  5. #5

    Default Re: How to overlap pictures?

    thanks for answering so quickly.

    I was able to figure this out by using layers. Now i cant make both pictures
    as one image because i want to make the image on top a link. Only problem is
    that when i use the layer that overlaps, it moves when you open the web browser.

    Do you know why this happens and how it can be fixed so that it stays where it
    is supposed to be?
    I read some posts about others who had the problem where there layers moved in
    the browser but i did not understand how to fix them considering i do not know
    much html.

    Thanks,
    Fr0maL

    FromaL Guest

  6. #6

    Default Re: How to overlap pictures?

    > it moves when you open the web browser.

    No, it doesn't. It's most likely that what is moving is the content
    underneath the layer - for example a centered table.
    > Now i cant make both pictures
    > as one image because i want to make the image on top a link.
    You could use an image map (see 'hotspot' in DW's F1 help) on the combined
    image to make that happen.
    > Do you know why this happens
    I can guess, but without seeing your code, that is all I can do. My guess
    is shown above in this post.
    > and how it can be fixed so that it stays where it
    > is supposed to be?
    It is staying where it is supposed to be. But that happens not to be where
    you wish it would be. 8) You can use CSS to fix that, but I suspect this
    might be beyond your reach just now. Using a single image with an image map
    may be the best way for you at this moment.
    > i do not know
    > much html.
    Yes. If you plan on doing more than just hobby sites, there will be no
    substitute for your learning HTML.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "FromaL" <webforumsuser@macromedia.com> wrote in message
    news:damdin$m7v$1@forums.macromedia.com...
    > thanks for answering so quickly.
    >
    > I was able to figure this out by using layers. Now i cant make both
    > pictures
    > as one image because i want to make the image on top a link. Only problem
    > is
    > that when i use the layer that overlaps, it moves when you open the web
    > browser.
    >
    > Do you know why this happens and how it can be fixed so that it stays
    > where it
    > is supposed to be?
    > I read some posts about others who had the problem where there layers
    > moved in
    > the browser but i did not understand how to fix them considering i do not
    > know
    > much html.
    >
    > Thanks,
    > Fr0maL
    >

    Murray *TMM* Guest

  7. #7

    Default Re: How to overlap pictures?

    ok, ill try image maps. thanks.

    I really am looking to learn html. Im actually learning a lot as i am making
    this site through dreamweaver. But could you explain to me breif explanation
    on what CSS is?

    Thanks,
    Fr0maL

    FromaL Guest

  8. #8

    Default Re: How to overlap pictures?

    CSS = Cascading Style Sheets.

    It's a method designed to give you the power to separate presentation from
    content. In other words, your HTML can now be used to only contain
    "content" (and NO presentation markup), while the presentation rules which
    apply to the entire site are in a single CSS file. When I say
    "presentation" I mean any of the following -

    * font family, style, color, size, background etc.
    * page width, border, background color, etc.
    * link color, background color, etc.
    * position of any page element, e.g., top, right, left, or bottom
    * page element margin, border, padding, etc.
    * background images, their tiling attributes, their position within the
    element containing them, etc.
    * and more....

    To read more about this, go here -

    [url]http://www.w3schools.com[/url]

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "FromaL" <webforumsuser@macromedia.com> wrote in message
    news:damgpb$qs2$1@forums.macromedia.com...
    > ok, ill try image maps. thanks.
    >
    > I really am looking to learn html. Im actually learning a lot as i am
    > making
    > this site through dreamweaver. But could you explain to me breif
    > explanation
    > on what CSS is?
    >
    > Thanks,
    > Fr0maL
    >

    Murray *TMM* Guest

  9. #9

    Default Re: How to overlap pictures?

    Thank you very much. I love these forums, helps a lot. I figured out how to
    use image maps and hotspots and everything is working exactly how i wanted it.
    I dont understand why people who had problems with "layers moving" in web
    browsers dont simply use image maps and instead use CSS?

    Thanks,
    Fr0maL

    FromaL Guest

  10. #10

    Default Re: How to overlap pictures?

    > I dont understand why people who had problems with "layers moving" in web
    > browsers dont simply use image maps and instead use CSS?
    Layers don't move, and when you grow up you'll appreciate why they do this!
    8)

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "FromaL" <webforumsuser@macromedia.com> wrote in message
    news:damr7r$c5o$1@forums.macromedia.com...
    > Thank you very much. I love these forums, helps a lot. I figured out how
    > to
    > use image maps and hotspots and everything is working exactly how i wanted
    > it.
    > I dont understand why people who had problems with "layers moving" in web
    > browsers dont simply use image maps and instead use CSS?
    >
    > Thanks,
    > Fr0maL
    >

    Murray *TMM* Guest

  11. #11

    Default Re: How to overlap pictures?

    Try this code...

    .imgOverlay
    {
    width: 240px;
    height: 240px;
    background: url(img/fish-all.png) no-repeat;
    }
    .imgOverlay:hover {
    background: url(img/flower.png) no-repeat;
    }

    Full Source code...

    http://www.corelangs.com/css/box/overlay.html

    Dell




    Quote Originally Posted by FromaL View Post
    ok, what i want to do is put a picture over another picture (forget about making it a link). Almost as if there are layers.

    Thanks,
    Fr0maL
    dellmerca is offline Junior Member
    Join Date
    Feb 2012
    Posts
    2

  12. #12

    Default Re: How to overlap pictures?

    http://klinikpembesar.com/

    http://pembesaralatvital.besaba.com/

    http://duniaobatkuat.blog.com/

    http://agenfruitplant.blog.com/

    http://vimaxherbal.blog.com/

    http://vigrxplusherbal.blog.com/
    Sherly Ayundia is offline Junior Member
    Join Date
    Jul 2014
    Posts
    4

Similar Threads

  1. Overlap DIVs
    By Jansolo in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: August 4th, 01:07 PM
  2. Calendars overlap : IE SP2 ; WinXP SP2
    By Likhith Areekkal in forum ASP.NET Web Services
    Replies: 0
    Last Post: December 23rd, 02:58 AM
  3. overlap symbols..mask?
    By R. Hamm in forum Macromedia Flash
    Replies: 1
    Last Post: May 18th, 07:11 AM
  4. Replies: 1
    Last Post: March 2nd, 03:00 PM
  5. overlap slice
    By odeathoflife in forum Macromedia Fireworks
    Replies: 1
    Last Post: July 27th, 03:44 AM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139