0

Flexible child element positioning

Friends I've found this somewhat a challenge. I have a header element which houses my div class brand and my navigation (element=nav). The header is given a height of 70px and a width of 100% as well as a display of flex with the background color you are seeing there. My nav and brand are both children of the header and my nav also has a display of flex. I want to position my brand name (DNJosh) at the start or left of my header element. And my nav to the right of the container as can be seen in below. Thanks in anticipation.

30th Aug 2020, 10:25 AM
DN Josh
DN Josh - avatar
9 Answers
+ 1
Could you please share the Code with us? It's not visible at moment
30th Aug 2020, 10:31 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 2
Upload the image using imgbb.com and then you will get a link to it and then add that link to your question
30th Aug 2020, 10:37 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
I just have a screenshot of it but don't know how to upload here.
30th Aug 2020, 10:32 AM
DN Josh
DN Josh - avatar
0
do justify-content: space-between in the header.
30th Aug 2020, 10:37 AM
Rei
Rei - avatar
0
Friends I've been able to solve my problem. Thanks to all of for your wonderful comments and suggestions. They really helped me. Please can you teach me how to reply a particular comment here.
30th Aug 2020, 10:59 AM
DN Josh
DN Josh - avatar
0
Use "@" symbol and it will show you list of users, just click on the username , to whom you want to reply
30th Aug 2020, 11:01 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
Мг. Кнап🌠 and let me start it with you... 😀😀😀
30th Aug 2020, 11:06 AM
DN Josh
DN Josh - avatar
0
Yup!! That's how it works Happy Coding!!
30th Aug 2020, 11:06 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
Мг. Кнап🌠 hi Sir, it's been a while. Are you still available? I'm back to coding. I have some challenges
25th Feb 2021, 10:12 AM
DN Josh
DN Josh - avatar