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.

Adblock messing up userlookup layout? And textbox not scrolling?

Featured Replies

Hi! I have joined this forum in hopes of getting help with my userlookup coding problems.

 

I have been working on a lookup for a while now and am nearing completion.

 

However, when I turn adblock on the modules are all misplaced, but with it off the lookup looks fine! I've noticed with other userlookups that when adblock is on the layout displays differently/incorrectly as well. Why is this? My adblock is up to date as far as I know. How can I code the modules to look normal both with and without adblock? I have absolute positioning.

 

Also I have two textboxes both in simple div layers with just a div id and the name and closing tag and with css I positioned them and one of them looks and works fine, but the other one will not scroll even though the scrollbar is viewable.

 

Can anyone help me?

 

Thank you!

 

This topic has been edited by a member of staff (Anime).
The topic was posted in the wrong area.
Please check your user inbox to see if you have been contacted regarding this topic.
Per the reason above, this topic has been MOVED from Graphics Help to Computers & Programming.

Hi there,

 

it would be much easier to help you if we were able to see the code (either paste it here or link us to your profile so we can view the source.)

 

My guess is that you used the position attribute in your code, which calculates from top-left corner of the page. When an element is blocked, it still loads prior to that. Therefore, all the calculs you did to position the module are off by the amount of pixels ads were taking. For more accurate results, try to use the margin attributes to position your modules.

 

The scroll boxes, I'd have to see them to see what's wrong with it.

  • Author

Thank you so much for answering! I actually did figure out how to make the bar scroll, I put it on top of the elements near it by adding a z-index into the code.

 

Now I am just having trouble with the adblock. When it is off everything is fine, but when it is on the layout is messed up and everything is out of position and I am worried it will show that way for others who use adblock as well. There is no way I know of to code it so that it will look good both with and without adblock.

 

Thank you again so much for your answer, I wasn't expecting an answer so soon the next day.

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.