Colleagues.
I want to put a text on a div, but as I change the size of the div, the text decreases and ends up breaking. See the image:
ThecodeI'musingisthis:
<divstyle=\"width: 300px; height: 20px; background-color: #FFF; border: 1px solid #000\">
<div style=\"position: absolute; width: ".$porcentagem."%; height: 19px; line-height:17px; background-color: #F00;\">
<div style='position: relative'>Estoque final (".$porcentagem."%)</div>
</div>
</div>