how to put the text side of the image

like this
No description
5 Replies
davidcancube
davidcancubeOP15mo ago
and not this
No description
snxxwyy
snxxwyy15mo ago
You can either use float, flex, or grid
Jochem
Jochem15mo 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
MarkBoots15mo 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
Will4515mo 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