View Single Post
Old 08-05-2013, 05:56 AM   #12
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
The CSS you have only works if the book text is in paragraphs. That's a perfectly reasonable assumption, but publishers are sometimes quite bad at doing The Right Thing. Some books may actually be in <div> or <span> tags instead. The universal selector (which I despise) should catch these cases, but try a more specific selector like "p, div, span, td, li, blockquote" and see if that works.

It wouldn't surprise me if the device settings took precedence over any CSS though. If a book uses rules with !important, device rules need to override that for the sliders to work as expected. Try the CSS (with a selector similar to mine or the universal selector) on a new book that you've never made settings changes in.
jgoguen is offline   Reply With Quote