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!

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

4/10/2021 10:45:54 PM

Blaire

4 Answers

New Answer

+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.

+1

Hi, Blaire I think it because you're positioning a few items as absolute which affect normal document flow.

0

so what do i do?

0

GOTCHAAA! *{ margin:0; padding;0; font-family: sans-serif; baclground-color: #42455a; } thts all i had to do! yay =)