0
How to create a fixed nav bar and it would cover the top screen.
I did make a fixed navbar but it doesn't cover the entire screen I have added top:0; and width:100%;, but a portion of the screen is still not covered, I'm not sure why, I thought it was because of margins, but removing them didn't fix this issue. I fixed nvm. https://code.sololearn.com/W8Yg3g4vuG0e/#css
4 odpowiedzi
+ 2
Just add this to your h1 .
left:0%;
and Calviղ code too
+ 1
Danial Azadpour can you please attach your source code here?
+ 1
Try
body {
margin: 0;
}
0
🇮🇳 AYUSH.ks 🇮🇳 yeah I did that.