Thread: Kobo Bug thread
View Single Post
Old 12-12-2014, 05:26 PM   #556
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by JSWolf View Post
In my CSS, I specified all sizes from 1px to 30px. I even tried em and pt. I also tried with and with an ending semicolon. I did not specify any font size in body as these are not relative sizes but absolute sizes (except for em).

They all came out at whatever size was specified by the font size slider.
Everything from 1 to 30? Try more like 12 to 120; use BIG jumps to make sure you're avoiding the "11px and 12px are the same effective size" and "that's too small to see" problems.

Further, if you're specifying px sizes, the font slider should have no effect on the display. That it does tells me that there's a problem elsewhere in the CSS, resulting in the reader never even seeing this set of rules.

I was proofreading a book recently that looked fine in iBooks and Calibre Edit, but completely shattered under Adobe Digital Editions. I was looking at the CSS for the affected rules, and everything looked good; I didn't get what the problem was. When I looked at the whole document, though, an early rule looked like this:

.c1 {
font-size: 1.25em;mx
}

That syntax error was causing ADE to ignore everything after that line, which was most of the rules, including the ones I was looking at. So even though the specific rules I was scrutinizing were fine, they weren't even being parsed.
Rev. Bob is offline   Reply With Quote