JN Boards: Help With Coding Pet Lookup? - JN Boards

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Help With Coding Pet Lookup? Darn image links!

#1 User is offline   Shadowsprint 

  • Neophyte
  • Pip

Posted 09 October 2010 - 01:59 PM

So on one of my pet lookups, I am trying to position some image links at certain positions for the navigation instead of the standard navigation bar.
The code I am trying to use is:
<a href="http://www.neopets.com/myaccount.phtml" class="link1"><img src="http://i54.tinypic.com/2e5t6cl.png"></a>
<a href="http://www.neopets.com/customise/" class="link2"><img src="http://i54.tinypic.com/2e5t6cl.png"></a>

(and so on up to link 8)

<style>
a.link2, a.link1, a.link3, a.link4, a.link5, a.link6, a.link7, a.link8 {
border:none;
position:absolute;
width:126px;
height:116px;
}
a.link1 {
top:50px;
left:1px;
}
a.link2 {
top:1px;
left:1px;
}

(and so on up to link 8)

< /style><br clear="all">

Then i have rest of coding for lookup, which works fine!

But when I change the top and left px values, the image links do not move at all, and seem to be in some sort of row?

Can anyone help me solve this or give me another way to code this?

All help appreciated!

#2 User is offline   Nasa 

  • JN Patron
  • PipPipPipPipPipPipPip
  • Group: Elite Members
  • Posts: 622
  • Joined: 05-July 10
  • Neo Name: nasa_guy1990
  • Gender:Male
  • Location:British Columbia
  • jnAccount : firestormcan

Posted 09 October 2010 - 02:39 PM

I don't think position:absolute works on Pet Lookups. Sorry.

#3 User is offline   Shadowsprint 

  • Neophyte
  • Pip

Posted 09 October 2010 - 02:39 PM

hmm so is there another way I could position them?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users