Trying to right-align text next to an image;
CSS
.p1 {
position: absolute;
width: 100px;
height: 50px;
top: 40%;
left: 70%;
}
HTML
<img src=../images/diagram1.png alt="Diagram"/>
<span class="p1">This is a testtttttttttttttttttttttttttttttt </span>
The code seems to work well with short text, but when there's a lot of text, it becomes squished and looks like one long paragraph. See below for example;
[image] [tes
ttt
ttt
tt]
I'm looking to have the text display as a regular paragraph block instead.
[image] [testttt
ttttttt]