0

PROBLEM: Is there any way to stop it scrolling up every time I click Change Log or Helped By?

https://code.sololearn.com/WXB96kioTFY7/?ref=app

6th Jul 2017, 11:45 PM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
6 Antworten
+ 3
just remove the href attribute it will stop that
7th Jul 2017, 12:31 AM
Lord Krishna
Lord Krishna - avatar
+ 1
Oh thanks. But isn't it weird to have an 'a' tag without any kind of href/link?
7th Jul 2017, 12:34 AM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
+ 1
it is perfectly valid and it is considered for a placeholder hyperlink https://www.w3.org/TR/2016/REC-html51-20161101/textlevel-semantics.html#the-a-element
7th Jul 2017, 12:37 AM
Lord Krishna
Lord Krishna - avatar
+ 1
Btw I'm gonna include you on Helped By section
7th Jul 2017, 12:41 AM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
+ 1
the anchor tag is okay and works. if you want, do check span and choose the one which works better for your use case.
7th Jul 2017, 12:42 AM
Lord Krishna
Lord Krishna - avatar
0
Is it better to use 'span' instead of 'a'? I think it fits better.
7th Jul 2017, 12:39 AM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar