Computer Hope
Internet & Networking => Web design => Topic started by: ajsmith100 on September 23, 2008, 01:12:05 AM
-
How do I put a smaller image on top of a larger image? In this case, it's a text image on top of a header graphic. Both are jpgs. Can I actually position the smaller image?
Thx
-
You can open the large image in mspaint and copy and paste it into mspaint.
From there, you can move the smaller image around, and then save it.
-
Is this HTML we're talking about?
-
Oops. Should have mentioned. Yes it is html
-
Oops. Should have mentioned. Yes it is html
No worries. :)
Do you have any code already? Can you post it?
Is there any (seperate) text in the header?
-
I'll post it when I get home.
Thanks
-
One option which will give you some room for manipulation is to use absolute positioning in CSS.
The smaller pic will need a higher value Z index so it will be on a layer - then you can move it where you want.
-
Kpac, I've uploaded the images, as we discussed. Thanks for taking a look.
Carbon, not sure what you mean ???
[Saving space - attachment deleted by admin]
-
My suggestion was to put the two images together before uploading them to the website.
-
Is this what you mean?:
(http://i7.photobucket.com/albums/y256/farmpond/forums/image2.jpg)
-
Maybe a little use of the Magic Wand Tool and some feathering, but yeah.
-
Is this what you mean?:
(http://i7.photobucket.com/albums/y256/farmpond/forums/image2.jpg)
You can use tables for that. Just set the background of the table to the background image, and putting the other image inside the table:
<table border="0">
<tr>
<td style="background-image:url('image1.jpg');background-repeat:none">
<img src="image2.jpg" border="0" alt="A picture..." />
</td>
</tr>
</table>
Is this what you want?
-
Yes...that's it, thanks! Now I can take the code and do the 10 headers that I have to change. Thanks for saving me so much time....
AJ
-
Yes...that's it, thanks! Now I can take the code and do the 10 headers that I have to change. Thanks for saving me so much time....
AJ
Was that sincere or sarcastic?
-
Was that sincere or sarcastic?
Hey! Stop being so negative! LOL! ;D
Yes...that's it, thanks! Now I can take the code and do the 10 headers that I have to change. Thanks for saving me so much time....
AJ
No problem. ;)