W3C home > Mailing lists > Public > www-html@w3.org > January 2000

RE: Physical markup concept snag

From: Karlsson Kent - keka <keka@im.se>
Date: Thu, 20 Jan 2000 21:08:14 +0100
Message-ID: <C110A2268F8DD111AA1A00805F85E58DA68530@ntgbg1>
To: W3C HTML <www-html@w3.org>
> >TeX (for \em) toggles between italic and upright.
> >How does one write a CSS style to get such toggling
> >behaviour for <em>?
> 
> Contextual selectors, e.g.,:
> 
> em { font-style: italic }
> em em { font-style: normal }
> em em em { font-style: italic }
> em em em em { font-style: normal }
> /* and so on ad absurdam */

Well, I had hoped for something more elegant that
did not (in principle) go on ad absurdum.  Oh, well.
Four levels is likely to be more than enough.

	/kent k
Received on Thursday, 20 January 2000 15:08:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:41 GMT