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!
5 Replies
Flex / grid.
I see you are not using flex and/or grid
i would highly recommend looking into that
try and display the main nav as flex
main-nav*
https://codepen.io/Ghloo/pen/rNbaXJJ // Still you need to tackle the mobile layout (first), too.
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.