I need help figuring out how to insert an image into a Bootstrap panel (see attached image):
https://i.sstatic.net/BHQI9.jpg
Here is the HTML Code I am using:
<div class="panel panel-default col-md-10 col-md-offset-1">
<div class="panel-body">
<div class="row">
<div class="col-md-6">
<label> {{DisplayNickname}}</label>
</div>
<img src="{{DisplayPhoto}}" class="pull-right img-responsive" alt="user photo">
</div>
<font size="4" id=rating_d >Rating: </font>
<font size="4" id=rating_d> {{DisplayRating | number : 2}} </font>
<br><br>
<font size="4">Description:</font>
<font size="4" id=details>{{DisplayDescription}}</font>
</div>
</div>
This is the CSS code I have right now:
{
width: 150px;
height: 150px;
}
Although it works with position:absolute
, it's not responsive. Can anyone suggest the correct approach to achieve this?