Jump to content

Help with User lookup


MiiAdenina

Recommended Posts

Hello

 

My user lookup: http://www.neopets.com/userlookup.phtml?user=miiadenina 

 

 

So, a friend of mine made me a drawing to put on my user lookup. Because I think a link back button would kind of ruin the lookup, I thought about making the image clickable, so it would link back to her site.

However, the image is set in the code as a background. I've read online that there's a way to go around that, but because I don't know much about coding, I don't understand the "instructions" to make it work.

 

Anyone has done this before that can maybe teach me how to do it?

 

Thanks in advance :)

Link to comment
Share on other sites

Just by briefly looking at your Userlookup code, it would be easier to have it linkable if it was coded in HTML rather then CSS.

 

Instead of having it in your style tags as:

#bg {URL}

You can have it in your html codes:

<a href="LINK"><img id="bg" src="IMAGEURL"></a>

Now to get it to position properly you'll need to add some CSS codes in your style tags:

#bg {
margin-left: 0px;
margin-top: 0px;
}

Just increase or decrease the values until it's positioned how you want it.

 

You "should" also have a navigation on your page similar to the one Neo uses so people can navigate away from your userlookup more easily. Personally I find it to be a bit of a pain when I have to do extra clicking/page loads just to get to where I want to go. I can help you with that if you like.

Link to comment
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...