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.

Radio button Firefox bug?

Featured Replies

Sorry for more questions!:

 

I have a fixed width, centred website (using margin:auto) which is all wrapped in a div. When I flick to my 'contact us' page the whole div moves to the left by about 5px, but this only happens in Firefox! I presume from this that it's a bug rather than anything I have done wrong.

 

I have narrowed it down to the radio buttons in my form as when they are removed it doesn't happen. I dont think there is anything unusual about them because I pretty much copied the code from the w3schools site. Can anyone help on this?

 

Thanks

A ) Can we have a live example, that always makes it 100x easier.

B ) Sure it's not just the scrolbar appearing?

If you don't like the sideways movement between a page that doesn't need a vertical scrollbar and one that does, there are several methods to create a scrollbar in all cases:-

 

Add to the stylesheet:-

html { overflow-y: scroll; }

which adds a dummy scrollbar, not a normal one, in Firefox, Safari and Opera (IE already shows a dummy).

 

OR

 

html, body { height: 100%; margin: 0; padding: 0; }
#page-container { height: 101%; }

 

which creates a normal scrollbar with a small amount of movement possible in the scrollbar.

 

There are other methods.

Edited by Sam G
added [code] tags

Create an account or sign in to comment

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.