How do I fill the white area with desired color | 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 do I fill the white area with desired color

I tried giving the div class realbody different properties but the area still stays white. https://paul-henry-portfolio.neocities.org I tried giving the div class realbody the css properties background-color: #24252A; display: flex; flex-direction: column; height: 100%;

28th Aug 2023, 5:09 PM
Paul-Henry Paltmann
Paul-Henry Paltmann - avatar
4 Réponses
+ 1
Paul-Henry Paltmann There's nothing wrong with your background, just replace height: 100% with height: 100vh second: you have instead of <ul> tag <ul2> and <ul4> tags
28th Aug 2023, 8:25 PM
Alexey Kopyshev
Alexey Kopyshev - avatar
+ 2
Samir Krasnic Of course, nobody forbids him to do it, but it is better to do it via class or id.
28th Aug 2023, 8:49 PM
Alexey Kopyshev
Alexey Kopyshev - avatar
0
show your code
28th Aug 2023, 8:09 PM
Samir Krasnic
Samir Krasnic - avatar
0
Paul-Henry Paltmann I think he can use,<ul2> 3,4,5 and so on 🤔
28th Aug 2023, 8:33 PM
Samir Krasnic
Samir Krasnic - avatar