Header positioning help

Hello, I am very new to coding and have been self studying html and css. I am trying to get my navigation links in the header to center with the logo in the header on the left hand side. I have tried several tactics within my CSS code with no success. Does anyone have any tips how I can accomplish this? Thank you in advance!
No description
No description
No description
No description
5 Replies
majkl
majkl10mo ago
Flex / grid.
MarkBoots
MarkBoots10mo ago
I see you are not using flex and/or grid i would highly recommend looking into that
VQS_W
VQS_W10mo ago
try and display the main nav as flex main-nav*
majkl
majkl10mo ago
https://codepen.io/Ghloo/pen/rNbaXJJ // Still you need to tackle the mobile layout (first), too.
Ali
AliOP10mo ago
Thanks all! I'm not quite into flex or grid yet but am working my way there. Good to know I can do this easier down the line.
Want results from more Discord servers?
Add your server