View Single Post
Old 03-25-2013, 03:59 AM   #30
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,561
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Well, say you want a paragraph to contain a display block (an image, a poetry fragment, a newspaper title...) and continue with no indent afterwards. You could do it by breaking the paragraph:

Code:
<p>He read that:</p>
<div class="title">ANDORRA INVADES FRANCE</div>
<p class="noindent">and fainted.</p>
or you try to keep the structure:

Code:
<p>He read that:
<span class="block title">ANDORRA INVADES FRANCE</span>
and fainted.</p>
where:

Code:
span.block { display: block; }
Jellby is offline   Reply With Quote