W3C home > Mailing lists > Public > www-style@w3.org > March 1999

Re: Italic

From: Daniel Glazman <Daniel.Glazman@der.edf.fr>
Date: Thu, 25 Mar 1999 15:38:40 +0100
Message-ID: <36FA4A70.6DABD1B5@der.edf.fr>
To: Nicolas Lesbats <nlesbats@etu.utc.fr>
CC: www-style@w3.org
Nicolas Lesbats wrote:
> 
> Hi,
> 
> I think another value could be added to the font-style property, which
> would be :
> 
> E { font-style: reverse(italic, normal) }

	toggle() is better word.

> If the parent "font-style" value is "normal", the E element will take
> an "italic" value (and vice versa).
> 
> With this, there wouldn't be a problem with the <Em> element anymore.
> Before :
> 
> Em { font-style: italic }
> Em Em { font-style: normal }
> 
> Problem : if you have, for example
> 
> P.note { font-style: italic }
> 
> any <EM> element within a paragraph with class="note" attribute won't be
> visible.

I don't understand. Why don't you just write 

	P.note { font-style: italic }
	EM { font-style: italic }
	P.note EM { font-style : normal}
	P.note EM EM { font-style : italic }

?

</Daniel>
--
Ajouter un homme  un projet en retard, c'est ajouter du retard
 un projet.
Received on Thursday, 25 March 1999 09:39:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT