Quote:
Originally Posted by Jellby
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