0

Why is the nav background ihavimg a space between the screen size , like I want to it to the school

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

21st Dec 2020, 10:23 PM
Emmanuel Ezoba
Emmanuel Ezoba - avatar
2 Answers
+ 3
Write this in CSS before body *{ padding:0px; margin :0px; }
21st Dec 2020, 10:30 PM
Walid Gaber
Walid Gaber - avatar
+ 1
It's enough to write: body { margin:0; } this set only the default body margin to zero, while * in Emmanuel Ezoba answer select and apply zero margin and padding to all elements of the page ^^
22nd Dec 2020, 3:24 AM
visph
visph - avatar