how can i fix the nav menu while scrolling the page ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

how can i fix the nav menu while scrolling the page ?

1st Oct 2016, 1:10 PM
MOHSSINE BOUGRIN
MOHSSINE BOUGRIN - avatar
5 Réponses
+ 1
position:fixed;
2nd Oct 2016, 11:23 AM
HawkEye
HawkEye - avatar
+ 1
nav { position:fixed }
2nd Oct 2016, 11:34 AM
Boicu Iulian
Boicu Iulian - avatar
+ 1
make the position of nav fixed.
4th Oct 2016, 3:55 PM
rupali magar
rupali magar - avatar
0
Position:fixed;
8th Oct 2016, 5:37 PM
Thabo Garette Theodor Stone
Thabo Garette Theodor Stone - avatar
0
Position: fixed. But keep in mind that all anchor links (e.g. /mypage.html#about_us) may be covered by the fixed navigation if you place it at the top of the page. This problem has to be solved by JavaScript.
9th Oct 2016, 8:03 PM
R3giCZ
R3giCZ - avatar