7
I have 2 elements inline
and I need to get the line broken without me having 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 case the 2 links at the end, should break line, I wanted to see if there is any form, without the need to use extra elements, just to break the line, I know I could do with UL>LI
.
I don’t understand why the question was downvoted.
– Marta
It is "normal" to appear downvote without justification. Few assume what they do (no offense to those who did it because they do not know who it was) and/or justify the reason.
– Bruno Augusto
A pity, because I found the question very legitimate. And I saw that downvote takes a point of your reputation, so it doesn’t make much sense to distribute.
– Marta
@Marta, this kind of unfair downvote ends up self-correcting. Your first comment is very constructive in this sense. Ah, yes, ++ in your reply, cool the technique :)
– brasofilo