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

Re[4]: CSS3 - Define Language

From: Chris Lilley <chris@w3.org>
Date: Sat, 16 Mar 2002 22:06:00 +0100
Message-ID: <14821245437.20020316220600@w3.org>
To: "Ineke van der Maat" <inekemaa@xs4all.nl>
CC: "(Daniel Glazman)" <glazman@netscape.com>, www-style@w3.org
On Saturday, 16 March, 2002, 21:57:56, Ineke wrote:

IvdM> What when you put in the stylesheet for recognizing the two languages?
IvdM> .en {
IvdM> color: #c00;
IvdM>         background-color: #ffffff;
IvdM> }

IvdM> .fr {
IvdM> color: #006400;
IvdM>       background-color: #ffffff: 
IvdM> }

Yeah but why do that when there is already a lang elector and it works
so much better? For example, if the value is inherited from aparent
element.

Unless the concern is legacy browsers, I guess.

IvdM> <p class="fr" xml:lang="en">Jean put dire comment on tape</p>
IvdM> <p  class="en" xml:lang="fr">Jean put dire comment on tape</p>

IvdM> This example I never saw before but it is too cool!!!! How
IvdM> different the both meanings!!!

Yes, its extra.


-- 
 Chris                            mailto:chris@w3.org
Received on Saturday, 16 March 2002 16:07:53 GMT

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