- From: Neil St.Laurent <neil@bigpic.com>
- Date: Thu, 18 Dec 1997 11:30:10 -0600
- To: "David Perrell" <davidp@earthlink.net>
- CC: "Style" <www-style@w3.org>
> Any declarations on EM will override properties inherited from P. EM
> is a child of P. Inheritable properties applied to a pseudo-element
> may be inherited, the pseudo-element is not..
But there should be a way to override the EM rendering if the EM is
part of a pseduo-element.
Consider:
P:first-letter { font-size: 2cm; }
EM { font-size: larger; }
<P><EM>Hello</EM> out there puts an EXTREME emphasis on the first
letter of Hello, even though the EM would likely be happier with the
2cm on it's first letter:
P:first-letter { font-size: 2cm; }
EM { font-size: larger; }
EM:first-letter { font-size: 2cm; }
__
| Mortar: Advanced Web Development <http://mortar.bigpic.com/>
| Neil St.Laurent <mailto:stlaurent@bigpic.com>
| Big Picture Multimedia
Received on Thursday, 18 December 1997 13:24:37 UTC