I have 2 elements inline
and I need to cause the line to be broken, without needing to add display: block;
or if possible add but not occupy 100% of the line:
<div class="box-error-page cb">
<h1 class="title-page-error title-error-default fleft">
404
</h1>
<h2 class="title-not-found title-error-default">
Ops! Página não encontrada
</h2>
<p>Não foi possível localizar o link que você estava buscando.</p>
<a href="" class="cb">Ir à página inicial</a>
<a href="javascript:history.go(-1);" class="cb">Voltar à página anterior</a>
</div>
In the case of the 2 links at the end, they should break line, I wanted to see if there was any way, without the need to use extra elements, just to break the line, I know I could do with UL>LI
. >