- From: Hakon Lie <howcome@w3.org>
- Date: Wed, 23 Jul 1997 23:39:48 +0200 (MET DST)
- To: neil@bigpic.com
- Cc: www-style@w3.org
Neil St.Laurent writes: > Why is vertical-align not inherited? Good question. Suppose this rule: SUP { vertical-align: super } Then, with this markup: <P>M<SUP>elle</SUP> You get something a la |\/|elle | | Now, say you would like the two "l" letters to have a differnet color: <P>M<SUP>e<SPAN STYLE="color: red">ll</SPAN>e</SUP> If vertical-align had inherited, the vertial-align value for the SPAN element would have been 'super'. Then the two "l"s would be superscripted relative to the parent, which is not the "M", but the "elle". I.e., you would have had a superscript to the superscript -- probably not what the author wanted. -h&kon H å k o n W i u m L i e howcome@w3.org W o r l d Wide W e b Consortium inria §°þ#¡ª FRANCE http://www.w3.org/people/howcome
Received on Wednesday, 23 July 1997 17:39:58 UTC