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.

CSS help anyone?

Featured Replies

I'm new to CSS, but I'm doing pretty well considering that.

 

I'm nearly finished with a layout I've been designing for myself, but the only problem is I put everything in a scrollbox, and I don't know how to position the scrollbox so it fits with the background.

 

http://i.imgur.com/o3hN3.png

 

.content {

height: 400px;

width: 500px;

overflow: auto;

display: block;

padding: 20px;

}

That is the coding that enabled everything to be in the scrollbox. Is this the correct way to do it? How can I move it so that it fits into the box in the background?

 

Thanks.

.content {
position: absolute;
top: ###px;
left: ###px;
height: 400px;
width: 500px;
overflow: auto;
display: block;
padding: 20px;
}

 

You'll have to play around with values for top and left. Other than that you had everything right.

  • Author

.content {
position: absolute;
top: ###px;
left: ###px;
height: 400px;
width: 500px;
overflow: auto;
display: block;
padding: 20px;
}

 

You'll have to play around with values for top and left. Other than that you had everything right.

 

I did that earlier, and it didn't change anything. =\

 

Edit:

Ok, nevermind, I said "right" instead of "left", and it didn't work. I have got it now.

 

Last problem: I have a big yellow header at the top. And it won't go away, and I'm not sure how to get rid of it because I don't really know what attribute it has.

http://i.imgur.com/cd9Kf.png

^That yellow header.

I already did

#header, #footer, #ncmall, #nst, .sf, hr, #userneohome {

display: none;

}

So what am I missing?

 

Bump.

 

Nevermind. It was,

 

#ban {

display: none;

}

:)

 

 

This post has been edited by a member of staff (Spritzie) because of a violation of the forum rules.

Please don't post multiple times in a row. If you would like to add something, use the 'Edit' button. Also, please keep your posts at 7 words or above..

Please check your user inbox to see if you have been contacted regarding this incident, then review our rules.

Glad you got it all sorted out!

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.