Quote:
Originally Posted by DaleDe
I have found that 1em is better than nothing, particularly when the font size changes within a paragraph using a span. Having a defined size is better than the default which can be a default inherit depending on the reader resulting in the size remaining changed after the span is done until the paragraph end.
|
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.