J
J
jdmrhyde2021-06-07 00:07:11
PHP
jdmrhyde, 2021-06-07 00:07:11

How to display text on the right side of an image?

I output data via echo, I need the text to be displayed on the right side with the picture.

echo " <div class = 'glebovtext'><a href = 'tt.php'  style='color:#000000;'> <h3> {$result['FIO']} </h3> <p> <img src='{$result ['foto']}'style='width:170px; height:250px;margin-left: 3em; margin-right: auto' align = 'middle'>   {$result['opisanie']} </p> </a> </div>";

It is necessary that the description is displayed at the level of foto.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question