I am currently developing a website but have a question in relation to vertically centering.
I have created a header with a logo and some text by the logo. How do I make it so that both the logo and the text are exactly in the middle of the header?? This also applies for the sections where I want text/buttons to be in the middle. Thank you.
Here is the code: -
For the header I have just had to use relative positioning to guess where the middle is. But for the sections I have used padding which I am not sure is right.
Thanks for the help.