I have a question about centering and positioning elements behind each other. I have a block of text on the left and only one word in this case, which should be centered on the same line as the email.
nav { text-align: center; }
<address> <a href="#">Some text</a> <br> hi(at)mail.com </address> <nav> <a href="#">about</a> </nav>
I tried to put the address to the left, but then the navigator is no longer in the center. Any ideas how to do this? It should be easy, but I just don't know how to do it.
Edit
The navigator should be centered for the whole viewport, my current answer will be in the absolute position of the navigator and set to left and right to 0., but I do not know if this was the best way to do this.
how it should look:

source share