Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Link with "#" throws to top of page Reply To: Link with "#" throws to top of page

#199047
Senff
Participant

A link should point somewhere, and it should go to another location when you click on it. That’s simply by design.

What you want, is something to happen (not somewhere to go), so perhaps it would make more sense from a semantic point of view to use <button> instead.