Background is not working,why\\\ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
24th Sep 2019, 1:09 PM
Digvijay Singh
Digvijay Singh - avatar
2 Answers
+ 1
Try to remove or comment the CSS rule: li { float:left; }
24th Sep 2019, 1:45 PM
Ipang
+ 1
Use the clearfix hack: ul::after { content: ""; clear: both; display: table; } (https://www.w3schools.com/css/css_float.asp)
24th Sep 2019, 1:52 PM
Michael
Michael - avatar