javascript - Getting value from variable causing a extra line -


i need html formatting. using bootstrap build page .if hard code value appears fine pull value variable format becomes bad.

the code :--

    <div class="col-md-3 col-sm-6 col-xs-12">           <div class="info-box">             <span class="info-box-icon bg-blue"><i class="fa fa-certificate"></i></span>             <div class="info-box-content">               <span class="info-box-text">total</span>               <span class="info-box-number"></span>               <p id="total"></p>             </div><!-- /.info-box-content -->           </div><!-- /.info-box -->         </div><!-- /.col -->        <div class="col-md-3 col-sm-6 col-xs-12">           <div class="info-box">             <span class="info-box-icon bg-green"><i class="fa fa-smile-o"></i></span>             <div class="info-box-content">               <span class="info-box-text">authorized</span>               <span class="info-box-number">19876</span>             </div><!-- /.info-box-content -->           </div><!-- /.info-box -->         </div><!-- /.col --> 

here how getting changed. enter image description here

there blank row getting added.

can me on ?

regards.

using coderomeos suggestion able fix .

<span class="info-box-number"><span id="total"></span></span>    

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -