Link of a pic ontop of another

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Link of a pic ontop of another

Post by Goofan »

ok i´ve got a picture.... Called ground on that i got "Grass, River, and more" but i would like to input my building onto that other pic and use it as a link. now i know that people got diffrent sizes on theire screens so cant use normal pic on pic "even if that would work abit". My question is is there anyway of doing this?

//Thanks in advance
//Thomas
wurdup
Forum Commoner
Posts: 39
Joined: Thu Apr 01, 2010 11:36 am

Re: Link of a pic ontop of another

Post by wurdup »

can you explain what you mean a little more? Not sure this is what you want but a CSS div box can place pictures on top of pictures if you set the left and top settings.
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Re: Link of a pic ontop of another

Post by Goofan »

ok well lets say explain it like this:
I got a pic that is showing its width and height is 100%... then i got another pic that is placed on a position (So it fits the other pic) this pic is a link aswell... my problem is i need to know how to place a pic ontop of another so it fits the construction of the other pic...
Example:
I got a pic with forest and such on it there are blank spots large as the other pic. the other pic is a struction and is placed ontop as if it where the same pic.

Hope this helps
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Re: Link of a pic ontop of another

Post by Goofan »

Well i know i can have a background pic and then place a pic ontop of that but thats not quite as i want it... i want the "first under pic" to be at a fixed position and above it there is another pic. This is for a game where if u press the main hall building that is on the pic then u get relocated...
marty pain
Forum Contributor
Posts: 105
Joined: Thu Jun 11, 2009 5:32 am
Location: Essex

Re: Link of a pic ontop of another

Post by marty pain »

Not a PHP problem mate. Would be best in the CSS section.

Read this
http://www.w3schools.com/css/css_positioning.asp
Post Reply