In the span element just remove the pull-right class and shift the header text to the left of the span tag. In The css,for badge class make white-space as important. Make the display of ul
as a table and put the table-layout fixed.
In the list element use the style display:table-cell
Try the following example:
/*In Css*/
.badge {
display: inline-block;
white-space: nowrap !important;
}
And in your HTML
<ul class="nav nav-tabs" style="vertical-align: top; width: 100%; display: table;table-layout: fixed;">
<li class="active" style="display: table-cell">
<a href="#Inbound" data-toggle="tab" `enter code here`style="text-decoration: none">Messages<span class="badge" runat="server" id="MsgCount">0</span>
</a>
</li>
</ul>