I am currently facing an issue with positioning a logo and navigation links within a <header>
element. When I apply the CSS property text-align:center;
, the logo aligns to the center on one line while the navigation links appear on another line directly below it.
My desired outcome is to have both the logo and navigation links display on the same line, beside each other.
To address this temporarily, I have added a float:left;
property to the .logo
class in the JSFiddle provided below:
JSFiddle Link: https://jsfiddle.net/z4f21hx3/1/
I would greatly appreciate any assistance with resolving this issue.
Thank you,
MistUnleashed