View Single Post
Old 11-23-2015, 01:59 AM   #49
hyphenreader
Connoisseur
hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.hyphenreader solves Fermat’s last theorem while doing the crossword.
 
hyphenreader's Avatar
 
Posts: 79
Karma: 28070
Join Date: Aug 2015
Location: Your Pocket
Device: iPhone [Hyphen Reader]
Quote:
Originally Posted by odamizu View Post
Thanks. I gave !important a try. I could not get it to work when font-size was used with % or em. It did work with px, but then the font-size wasn't adjustable within the app.

Using p {font-size: 200%} on the other hand works to increase the font size AND font-size is adjustable within the app. But it only works if the ebook uses <p> for paragraphs. Also, it doesn't seem to work if I try it with h1 or h2.

Bottom-line: trying to control font-size with custom css isn't as easy or consistent as one would hope.

P.S. I think you have a great start here and look forward to the next version.
Welcome to the wonderful world of CSS specificity and inheritance! Although you can get this to work the CSS way, I think you may just be better off waiting for the increased font size max in the next version...
hyphenreader is offline   Reply With Quote