I saw that there are many questions looking like this one but can't find a solution yet.
My HTML code:
<p class="ref" style="display:inline">
<p class="mini-caps">albums</p>:
Scum
(1987) ;
Bootlegged in Japan
(1998)
</p>
<p class="ref">
<p class="mini-caps">compilation </p>:
Noise for Music’s Sake
(2 CD, 2003)
</p>
<p class="ref">
<p class="mini-caps">album</p>:
Illmatic
(1994)
</p>
I tried to style p.ref with display:inline with no success.
The output I would like to have:
albums : Scum (1987) ; Bootlegged in Japan (1998)
compilation : Noise for Music’s Sake (2 CD, 2003)
album : Illmatic (1994)
mini-capspelements, at least in HTML mode: they are auto-closed before opening tag of any non-phrasing element (“block element” in HTML4 terms) and the next paragraph ends up being a sibling of the previous one, not its child. Don’t rely on the markup you write, always check the DOM that browser constructs from it. Also, see stackoverflow.com/questions/11570902/…