How to move a link? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

How to move a link?

Hi everybody,i have a footer that includes few links,the a:active is set to vertical-align:sub,but when you click in one of them the other link that are below it move as well too.. How can i stop it? https://code.sololearn.com/W30aAv2x0R7I/?ref=app This is my code Tnx

15th Jan 2020, 7:34 AM
sina
sina - avatar
4 Respuestas
+ 5
Hello, Add the "position:fixed" property to your "footer a" selector and it should be fine. footer a{ display: inline-block; margin-top: 15px; position: fixed; (with a fixed position you stop the links from moving) } Also, you will notice that the links will be on top of each other or mixed so you won't be able to see or distinguish anything. For this, just add the necessary space between each link and they will be visible.
15th Jan 2020, 7:57 AM
Elisaveta
Elisaveta - avatar
0
Elizabeth Kuleshova tnx elizabeth but its not working the way that i wanted to,,
15th Jan 2020, 8:02 AM
sina
sina - avatar
0
Gordon tnx a lot‚̧
15th Jan 2020, 4:05 PM
sina
sina - avatar