Here is some html code with a label and an output next to it.
<div class="panel-body">
<div class="col-sm-6">
<label class="head6">Company Name : </label><span class="head9 halfR">'.$name.'</span>
</div>
<div class="col-sm-6">
<label class="head6">Website Address : </label><span class="head9 halfR">'.$url.'</span>
</div>
<div class="col-sm-6">
<label class="head6">Slogan : </label><span class="head9 halfR">'.$tagline.'</span>
</div>
<div class="col-sm-6">
<label class="head6">Info : </label><span class="head9 halfR">'.$descrip.'</span>
</div>
Additionally, there is css to adjust the space between the output and the label.
.halfR{
width:60%;
float:right;
word-wrap:break-word;
}
In desktop view, everything looks good. However, when moving to mobile size, there is an issue as shown in this https://i.sstatic.net/k3alS.png.
Any suggestions on how to make it responsive would be highly appreciated.