how to put the text side of the image

like this
No description
5 Replies
davidcancube
davidcancubeOP14mo ago
and not this
No description
snxxwyy
snxxwyy14mo ago
You can either use float, flex, or grid
Jochem
Jochem14mo 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
MarkBoots14mo 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
Will4514mo ago
You can use Flex for that if I understand your question correctly. Put both in a div and set display to flex.
Want results from more Discord servers?
Add your server