the main prob is on my laptop, everything else is perfect but tht background color isnt covering whole page on website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

the main prob is on my laptop, everything else is perfect but tht background color isnt covering whole page on website

on the container css, tht background color #42455a isnt covering whole page but just upper half page on website. pls check. P.s. why tf is it weirder whn i run codes on phne? https://code.sololearn.com/W7cKPRKwckyD/?ref=app

10th Apr 2021, 10:45 PM
Blaire
Blaire - avatar
4 Answers
+ 2
If you want the background to cover all of the page. Not only top of it. You can set background of body to #42455a.
11th Apr 2021, 3:05 PM
Wilbur
Wilbur - avatar
+ 1
Hi, Blaire I think it because you're positioning a few items as absolute which affect normal document flow.
11th Apr 2021, 1:53 AM
Wilbur
Wilbur - avatar
0
so what do i do?
11th Apr 2021, 2:09 PM
Blaire
Blaire - avatar
0
GOTCHAAA! *{ margin:0; padding;0; font-family: sans-serif; baclground-color: #42455a; } thts all i had to do! yay =)
11th Apr 2021, 4:56 PM
Blaire
Blaire - avatar