View Single Post
Old 08-05-2013, 04:31 AM   #1
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,055
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Assigning paragraph class to multiple paragraphs

I'm using a favourite css for my ebooks, containing a "standard" paragraph style with indented first line. There is also a paragraph class for some specific text as poetry etc. with no indenting, italics etc. Opening a book, for example in html, all text is, first of all, assigned to the standard paragraph style, also the poetry. As there are usually many linebreaks, every line appears as separate paragraph, each one indented etc. Until now I manually changed every line, assigning the "poetry" class to all. This is much work.

Is there a way to assign this specific paragraph style to the "bunch" of lines that contain poetry at once, removing the standard pareagraph style? I think this should be possible, but I simply don't find the trick.

Sorry for my difficulties in explaining the problem in English!
Leonatus is offline   Reply With Quote