View Single Post
Old 06-18-2011, 11:22 AM   #9
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by Jellby View Post
Do you mean this:

Code:
<p>Some paragraph with <span class="large">large words</large> as a sample
would look different with this style:

Code:
p { font-size: 1em; }
span.large { font-size: 200%; }
and this:

Code:
p { }
span.large { font-size: 200%; }
(which would display "as a sample" in large font too)?

If that's the case, it must be a bug in whatever reader does that, or there's something I've still not grasped from the CSS spec.
Yes, it was a Hanlin V3+ using ADE software. It seemed to interpret that lack of a specific fontsize as inherit the previously set size within the block. It is likely a bug but then older eBook readers seem to be stuck with what ADE version first appeared on them. Although I am not sure exactly how inherit is supposed to work.

Dale
DaleDe is offline   Reply With Quote