how to put the text side of the image

like this
No description
5 Replies
davidcancube
davidcancubeOP3y ago
and not this
No description
snxxwyy
snxxwyy3y ago
You can either use float, flex, or grid
Jochem
Jochem3y ago
This is one of the very few cases where float might be the best solution, and the only easy way to get the text to wrap around the image if it gets longer
MarkBoots
MarkBoots3y ago
and it is what it is build for. but without the markup we can not tell at all what works in this case. (by default text is already inline with an image)
Will45
Will453y ago
You can use Flex for that if I understand your question correctly. Put both in a div and set display to flex.

Did you find this page helpful?