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
4 Réponses
+ 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.
0
Elizabeth Kuleshova tnx elizabeth but its not working the way that i wanted to,,
0
Gordon tnx a lot❤