I would like to know what forms you use when you need an element to occupy the total WIDTH + HEIGHT that it is using, for example:
<p>
<span>Teste</span>
</p>
In order for P to occupy the total size you are using, I usually use a class called cb , with the following properties:
.cb {
clear: both;
overflow: hidden;
}
or clearfix itself, though, I always wonder if there is a more organized way to do it.