View Single Post
Old 05-01-2011, 12:10 PM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
different epub interpretations of <br> ?

i noice that when I add line space via sigil book view

e.g. I change from

line 1 followed by
line 2


so that I see

line 1 followed by

line 2


then sigil does this by adding code like
<p class="whatever"><br /></p>

where the class is whatever is in use on other paragraphs.

This "works" i.e. looks good in sigil book view, & also looks good in calibre epub viewer, but when I send to my Sony 650, the line spaces are not visible .i.e. the Sony apparently completely ignores lines like <p class="whatever"><br /></p>

IS the epub spec ambiguous, or is Sony e-reader software out of lien with rest of world ?

PS I Know that I am supposed to use proper styles & not lazy <br /> tags, but if I am in book view and want to separate blocks of text , e.g. to put extra space around a quote or a subheading, it would be good to be able to just hit ENTER & get consistent results on all devices.

I have had to resort to explicity hitting space bar a couple of times, not just hitting enter, to get results I want.

is especially annoying with sigil's indent feature,which adds blockquote tags, as Sony seems to also ignore any blockquote styling & shows the indented text with zero top & bottom margin - stripping any <br> lines.

Last edited by cybmole; 05-01-2011 at 12:14 PM.
cybmole is offline   Reply With Quote