Jump to content
Sign in to follow this  
alvingkh

How to place text paralel to image

Recommended Posts

<div class="panel-affix-top">
<div class="panel">
    <h2><?= $_POST['username']; ?></h2> 
    <div class="images"><img src="<?= $data['profile_picture']?>" class="img-circle" height="125px" width="100px">

<p><b><?= $posts ?></span>&nbsp;Posts</b> &nbsp;
<b><?= $followers ?></span>&nbsp;Followers</b> &nbsp;
<b><?= $following ?></span>&nbsp;Followings</b></p>

<button type="submit" class="btn btn-short" name="submit_curr">NEXT</button>
</div>
</div>
</div>

1579353922_originalcode.png.c196d20c150eb09523776d875cb9ac6f.png

 

Hello guys, can someone guide me how to place the text right to image same as the image below. Thank you.

target.png.e99f82c2d1b63c024a4c19f95b69e54b.png

Share this post


Link to post
Share on other sites

Do you know any CSS? There are several ways to do it in CSS. Either with a flexbox, floated elements or inline blocks.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...