Re: Italic

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 UTC