When I use the padding
property, it does not generate the correct spacing on all four sides of the elements. When using Firefox's element of elements, I notice that there is an overlap of padding
effect.
See:
HTML
<divclass="quadrante-principal-conteudo-sub">
<span>Vitória</span><span>Vila Velha</span><span>Guarapari</span> <span>Anchieta</span>
</div>
CSS:
div.quadrante-principal-conteudo-sub{
width: 100%;
max-width: 595px;
padding: 10px;
font-size: 16px;
box-sizing: border-box;
}
div.quadrante-principal-conteudo-sub span{
padding: 20px;
font-size: 16px;
box-sizing: border-box;
overflow: auto;
}