Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

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.

Div Positioning Problems

Featured Replies

Hi, I'm trying to understand why there's an inconsistency in the div positioning/width on my site. Here's the link: (Link removed)

When you click on the first of the individual galleries (Link removed), the white div that appears takes up the same width as the two divs on the index page (likewise the box on the "contact me" page is the same width), however, when you click on one of the galleries with lots of images (like the second-to-last one or (Link removed), the div, which is just the same html and css, appears wider. This happens in Firefox, Chrome and Opera (probably in the other browsers too, but those are the only ones I have installed). I'd really like to know why this is, so would really appreciate it if you could share your superior wisdom.

You should be able to see my CSS just by viewing source, but if you want me to post it here, just ask.

Edited by Ben

Can't see it on an iPad but is it because a scroll bar is being forced by the browser?

  • Author

Can't see it on an iPad but is it because a scroll bar is being forced by the browser?

Oh yes, of course it is! Thanks. Is there any way that I can easily compensate for the scrollbar's appearance? Or should I just put up with it?

 

I wonder why it won't show on your iPad too? I don't have an iPad, but the site seems to work on my mobile phone.

Edited by jismith

Personally I wouldn't worry about.

 

iPad doesn't have a scroll bar as such apart from a token line that is overlaid. As you've got the whole screen to swipe its not really necessary.

  • Author

Personally I wouldn't worry about.

 

iPad doesn't have a scroll bar as such apart from a token line that is overlaid. As you've got the whole screen to swipe its not really necessary.

Thanks for diagnosing the issue anyway. Now I know that it's due to the scrollbar, it doesn't bother me that much, as people can see the scrollbar appearing (even if I couldn't!).

 

Ah, cool, makes sense.

Edited by jismith

Guest
This topic is now closed to further replies.

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.