Jump to content

HTML Image Loading


Recommended Posts

Hello all , a while ago you told me that when I make a layout for the site with gimp or photoshop I should come and ask you how I should implement it.The site is quite simple for starters ... but after re-readingthe tutorials I am at a loss as to how I can load one image on top of another.Anyone can help me with this?

Link to post
Share on other sites
Hello all , a while ago you told me that when I make a layout for the site with gimp or photoshop I should come and ask you how I should implement it.The site is quite simple for starters ... but after re-readingthe tutorials I am at a loss as to how I can load one image on top of another.Anyone can help me with this?
What are you trying to do? Like a link mouseover/hover?
Link to post
Share on other sites

No , nothing like that.Just the design of the site was supposed to be like that... I am just now realizing that this might not be possible and that maybe I should make the images look one on top of each other in an image editing program first and then add them to the website.Is my realization correct? :)

Link to post
Share on other sites

Do you mean like layer the images?

<!-- Put in head !--><style type='text/css'>#img1{ z-index: 1; top: 0px; left: 0px;}#img2{ z-index: 2; top: 0px; left: 0px;}</style>

<!-- Put in body !--><img src='####.gif' id='img1'><img src='####.gif' id='img2'>

Link to post
Share on other sites

Hi,That is easy. Let us say that you have two images that are "1.jpg" and "2.jpg". Do load one overlapping another just write the followinf code -

<img src="1.JPG" style="position:absolute;top:10;left:10;"><img src="2.JPG" style="position:absolute;top:30;left:30;">

That is it! That is all you need to write. For any other queries conact me!Thanks,Prateek

Link to post
Share on other sites

Oh I see!Thanks guys.Yes both the above replies seem to work out what I wanted to get.Nonetheless though , site designing is in no way easy!I have spent days trying to figure out what layout ... colours ... style e.t.c. my site should use.Should I encounter any other problem/question I will be sure to contact you people :)Thanks for the help! (ofcourse I will google it first :) )

Link to post
Share on other sites

It is good that you have spent a long time trying to work out the colours for your site etc because that is the most important bit, and once you have a deffinned style and layout you wont need to change it. I have sometimes spent days trying to get my layout working how it want it, and although to an outsider something may seem like nothing it is a really good feeling to know that it is right.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...