<div style=" float:left; width:150px; word-wrap:break-word;"> <div style="color:black; border: 1px solid #fff; width: 15px; height: 15px; text-align: center; margin-left:25px;">4</div> </div> <div style=" float:right; margin-right:16px;"> <div style="color:black;">Total: <?php if ($ttl != 'n') { echo $ttl; } $total = $nj->total('My_Bills', $username); $ec = mysql_fetch_row($total); echo $ec[0]; ?> </div> </div> </div> </div> </div>