Looking to align text under a picture, like this:
Previously, I attempted it this way, which was incorrect:
This is my code:
.test{
display:inline-block;
}
.test img{
display:block;
}
<span class="test">
<img src="http://cdn.sstatic.net/Sites/stackoverflow/img/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="503120203c357d243f2533387d39333f3e10627e203e37">[email protected]</a>?v=73d79a89bded&a" alt="asd" width="316" height="316">
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever since
the 1500s, when an unknown printer took a galley of type and scrambled it to
make a type specimen book.
</span>
When running on localhost, only the first line aligns with the image. How can I align all of the text?