Reputation: 420
I have problem with positioning three elements in fixed top menu on my website. I want to look like that: logo on left site, sign in on right site and menu in the middle of navbar.
How should I do this right?
Upvotes: 0
Views: 70
Reputation:
Given that IE does not fully support flex-box, here's an alternative solution which is based on Mamboleoo's code, but uses float: left;
and float: right;
on the logo and sign-in link respectively: https://jsfiddle.net/vavx5heb/
Upvotes: 0
Reputation: 519
You can create this layout really easily with flexbox !
Here is an example: https://jsfiddle.net/7n1w4sn6/
Apply a display: flex;
& justify-content: space-between;
on the container of your menu.
Upvotes: 2