The logo and menu in one line float: left. What is the error?

Hello. Please see the code. Need to mark up the logo and link in one line, so that the logo was located on the left and everything else right, but why are all the other way around. Need solution to float.
March 12th 20 at 07:59
1 answer
March 12th 20 at 08:01
Solution
<div class="logo"> is not closed
Thank you, my good man. You didn't let me kill the rest of the day at this ridiculous time) - Roxane_Kuphal91 commented on March 12th 20 at 08:04
@Roxane_Kuphal91, and it is better to remove this div, a class "logo" hang on img. For what is there an extra container? Even in this situation in a CSS logo would be good to specify display: block, because by default an inline picture.
Always please) - garrett86 commented on March 12th 20 at 08:07
@Roxane_Kuphal91, and it is better to use some editor with a built-in validator. - Rosemarie_Jaco commented on March 12th 20 at 08:10
@Rosemarie_Jaco, thank you, I agree with you - Roxane_Kuphal91 commented on March 12th 20 at 08:13

Find more questions by tags CSS