Why my code can't floats left to the menu bar | Sololearn: Learn to code for FREE!

-2

Why my code can't floats left to the menu bar

My html and css

10/18/2021 5:27:57 PM

Prince Johnson Osinachi

15 Answers

New Answer

+1

+1

+1

Thanks you for your help

0

How to tell without showing your code? We are not mind reader?

0

I want to past the code here

0

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

0

Prince Johnson Osinachi ul is not a class it's a tag so just do this in css ul{ float:left; display:flex; justify-content:center; aline-items:center; }

0

Prince Johnson Osinachi Also do this in CSS to remove dot (.) ul li { list-style-type:none; padding-right:10px; }

0

I opend it up on my phone it wider than my screen

0

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

0

Amd the manu is not in line with the logo

0

Prince Johnson Osinachi You have used 1200px, 500px which is not good. If you want to make responsive then use width and height in percentage (%) like 10%, 50%, 100%

0

It as refused to be inline with the logo

0

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

0

Prince Johnson Osinachi You missed some closing div https://code.sololearn.com/WxcG0wixUN5R/?ref=app