Align text | Sololearn: Learn to code for FREE!

+3

Align text

Is there a better way align text so it’s next to the picture without using <br>? I’m the code the random text about candy is just a place holder and will be changed later. https://code.sololearn.com/WIxQL4sNJBq8/?ref=app

1/5/2022 1:56:49 AM

Jeffrey Montanari Jr

3 Answers

New Answer

+4

You can refer to this guide as well: https://www.geeksforgeeks.org/how-to-wrap-the-text-around-an-image-using-html-and-css/ Using the guide above, I've tried to make changes to your code and you can see the changes here: https://code.sololearn.com/Wi4KL81TYn9V/?ref=app

+4

https://www.w3docs.com/snippets/css/how-to-vertically-align-text-next-to-an-image.html (Imp) https://www.w3docs.com/tools/code-editor/9748

+1

Solomoni Railoa, thanks very much for your help.