I am currently utilizing bootstrap 3 to style my website. I am facing an issue where I cannot get the label text 'mycomp account number' to appear on a single line:
.lab {
display: inline-block;
font-weight: 10px !important;
}
<section className="serviceDetails">
<div className="row">
<div className="col-lg-3">
<div className="col-lg-2">
<img src="/pic.png" width="30px" height="60px" alt="" />
</div>
<div className="col-lg-9 lab">
<label className="lab" htmlFor="accountNr">mycomp account number</label>
<span> 1378173871237817</span>
</div>
</div>
</div>
</section>
Despite using inline block, the text still wraps to the next line after "mycomp account". How can I ensure that 'mycomp account number' appears on one line?