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.

Getting around blocked CSS properties in lookups

Featured Replies

Hmm.. so a year ago my lookup was fine. Now the position tag is one of the filtered properties (E.g. position: absolute;) so now I cannot edit my profile without removing the position tags and majorly messing up my lookup.

 

Anyone know a way around this? There are no spaces, I tried that already. :(

I personaly replaced all my "position" with "margin", but my lookups are centered.

 

#template_nav {
margin: -20px auto 0px -50px;
padding: 0px; 
width: 730px;
} 

 

In the above example, I found that having the 'auto' is very important to position the navigation correctly...

 

 

#about {

border: 1px solid #FFFFFF;

padding: 5px;

margin-top: 230px;

background-color: #000000;

filter: alpha(opacity=70);

opacity: 0.70;

margin-right: 7px;

}}/code]

 

In above example, I used a margin top to move the div in place.

 

It always works for my lookies, but as I said, never tried to have them aligned to the left.

As far as I know, there is no hack that gets around the 'position' filter. With CSS, there are workarounds, but I have just learned the hard way that I have to compromise my artistic graphic design vision when I'm coding CSS for Neopets. *sniffles*

 

My advice to you is to tinker and experiment with code (w3schools.com is a great place to learn more)...and when all else fails, compromise. :)

 

p.s. If you want a left-aligned page, simply add this code:

 

#main{margin-left:0px;}

 

That usually does the trick. Good luck :)

  • Author

Alrighty, I can certainly work with margins instead but I'm rather put-out that I can't use positioning now after all this time. Curse you, Neopets! :P

 

Thanks for the replies, all. :)

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.