Quote:
Originally Posted by DNSB
Not quite right. 0 is not a positive integer.
If you want to turn widows and orphans off, set them to 1 -- it's a bit hard to leave less than 1 line at the top/bottom of a page.
CSS Level 3 makes this clear -- "Only positive integers are allowed as values of ‘orphans’ and ‘widows’. Negative values and zero are invalid and must cause the declaration to be ignored." From a discussion in another forum, it appears that for one ereader if the declaration is ignored, the default value (2) will be used.
Regards,
David
|
strange, I have been using zero in all my books, it worked fine on my old (ADE based) Sony readers & it seems to also work fine on my Aura HD.
For sure a book with both set to 0 displays differently from one set to 2. So where is the "other forum" discussion & what is the "other ereader" please
I always took 0 to mean " dont do any W & O processing"
additional questions/ observations.
1. is CSS3 the correct spec here - have Kobo ever said that they comply with that ?
2. if I take a definition from about.com:
The orphans property defines the minimum number of lines of a paragraph that must be left at the bottom of a page.
I have no problem conceptualising
zero lines left - that just means the whole para starts on next page ?
3. (about.com)
orphans: <integer> | inherit
<integer>
A non-negative number of lines to be left.
zero IS a non negative integer
4. ( my interpretation ). IF zero does cause W/O processing to be turned OFF , that is not the same as turning it ON with a value of 2