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.

Opera and href="#", doesn't work.

Featured Replies

Any browser I've tried will scroll to the top of a page when you click on a link which links to # as in href="#". Expect Opera. What's the deal with that?

unless specified, # reloads the page hence why it goes back to the top, why opera doesn't do it, no idea...

Anyway, I don't advise using # as a back to top link...

 

Oli

<a href="java script:scroll(0,0);">YOURLINK</a>

 

kk thanks

 

Wildo

  • Author
unless specified, # reloads the page hence why it goes back to the top, why opera doesn't do it, no idea...

Anyway, I don't advise using # as a back to top link...

 

Oli

 

 

Nopes. It doesn't reload the page. It just scrolls to the top. At least in IE and Firefox.

I use

<a href="#header">Back to top</a>

 

Where "#header" is the same name as the top DIV on your page in your CSS.

 

The "#" works as a quirk, and isn't a proper way of linking to the top! Plus AFAIK this method is the most accessible, and likely to work in every browser.

 

:)

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.