+ 4
html background color not working
the background color on my navigation bar does not work. can you guys help? it is on the <ul> tag https://code.sololearn.com/W4QFzGPNa41t/?ref=app
1 Answer
+ 3
When an element is floated, it is taken out of the normal flow of the document.
Try to replace float: left with
display: inline-block;