Design comparison
SolutionDesign
Solution retrospective
could you please tell me how can i arrange name and image in a line?
Community feedback
- @Marley-SemendePosted 11 months ago
Hi @Karimullabegamch. To arrange name and image in the same line in CSS you can achieve that using a combination of the display property and inline value and you can also use the vertical align property to ensure that they have the same alignment vertically, for example :
.name { display: inline; vertical-align: middle; }
This should give you your desired results. I hope this helps.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord