Skip to content
View in the app

A better way to browse. Learn more.

The Daily Neopets Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Borked Userlookup Coding, Help Please?

Featured Replies

So my userlookup which I made with tutorial help is borked now, and I don't know why

 

http://www.neopets.com/userlookup.phtml?user=toadsdontexist

 

For some reason, the layout no longer fits inside the container and I have no idea how to fix it xD

 

Any help is greatly appreciated. Thanks!! :D

Ok, I went through your code and tried a few things...

 

Try this:

 

Find the part which says:

 

#main {

width: 900px;

background-color: #585232;

border-left: 1px solid #000;

border-right: 1px solid #000;

margin-top: 0px;

}

 

Change the width to: 920px

 

Then find the part which says:

 

 

#content {

width: 995px;

margin-left: 3px;

margin-top: -5px;

border: 0px;

}

 

Change the width to: 900px

 

 

You might want to centre the top image aswell.

I know that the image at the top won't stretch across the whole thing now, but I can't remember how to shrink the userlookup contents (which is what is stretching the width).

  • Author

Excellent, thank you!! :D I have a feeling it has something to do with the Habitarium, since my layout broke at about the same time that I first started playing :P

Possibly :)

It's easy enough to remove if you wish to:

 

#habitarium {

display: none;

}

 

Just add that within your style coding.

 

EDIT:

 

Ah, I've got it. If you want everything fitting properly do this:

 

Find the part, change the previous figure to the red:

#main {

width: 870px;

background-color: #585232;

border-left: 1px solid #000;

border-right: 1px solid #000;

margin-top: 0px;

}

#content {

width: 860px;

margin-left: 3px;

margin-top: -5px;

border: 0px;

}

 

And find the part and add the red:

#habitarium, #footer, .user, #nst, .sidebar, .brand-mamabar, hr, #ban, .content div a img, .content div b {

display: none;

}

 

EDIT2: The games and trophies module is a few pixels too thin but I cannot remember how to fix that.

Edited by iona_guild

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.