Why as my content refused going to the left position of my screen any idea please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why as my content refused going to the left position of my screen any idea please

Css https://code.sololearn.com/WpH3q2TTcIHj/?ref=app

19th Oct 2021, 7:27 AM
Prince Johnson Osinachi
Prince Johnson Osinachi - avatar
2 Answers
0
Prince Johnson Osinachi I am not an expert on HTML, CSS but I noticed that you have a whole heap of nested divs. Each div has a CSS section which dictates the style of THAT div. But when you nest them, you will have overlapping instructions of each div. Basically the code does not know what to do. A div is a block of code that pertains to a section of code. Set the CSS to style THAT div.
19th Oct 2021, 9:18 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Thanks
19th Oct 2021, 2:10 PM
Prince Johnson Osinachi
Prince Johnson Osinachi - avatar