RE: Physical markup concept snag

> >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 UTC