0

How do i get the title next to the logo?

https://code.sololearn.com/WM6hqo2NP6m7/?ref=app

8th Jun 2022, 4:45 PM
Ahamed Shifak
Ahamed Shifak - avatar
3 Antworten
+ 4
p.logo{ display: inline-block; } h1.title { display:inline-block ; You can edit this if you want it closer to the logo. .title{ margin-left:150px; }
8th Jun 2022, 5:41 PM
Chris Coder
Chris Coder - avatar
+ 2
Looks like you have a syntax error on Line 9. You closed the div before you could use it.
8th Jun 2022, 4:47 PM
Justice
Justice - avatar
+ 2
Another way: div { display:flex; } Or remove the div as unnecessary and use flex in the header. https://code.sololearn.com/WuURFRZPW39x/?ref=app
8th Jun 2022, 6:25 PM
Solo
Solo - avatar