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

Re: Re[2]: CSS3 - Define Language

From: Ineke van der Maat <inekemaa@xs4all.nl>
Date: Sat, 16 Mar 2002 21:57:56 +0100
Message-ID: <004901c1cd2d$4131f520$45a96dc2@ineke>
To: "Chris Lilley" <chris@w3.org>, "\(Daniel Glazman\)" <glazman@netscape.com>
Cc: <www-style@w3.org>
What when you put in the stylesheet for recognizing the two languages?
.en {
color: #c00;
        background-color: #ffffff;
}

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

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

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

Cheers from the Netherlands  
Amicalement  des Pays-Bays (4  points?)
Ineke van der Maat


----- Original Message ----- 
From: "Chris Lilley" <chris@w3.org>
To: "(Daniel Glazman)" <glazman@netscape.com>
Cc: <www-style@w3.org>
Sent: Saturday, March 16, 2002 8:36 PM
Subject: Re[2]: CSS3 - Define Language

> 
> Here is another example. Pretend it is to be sent to a speech synthesizer.
> 
> <p>Jean put dire comment on tape</p>
> 
> Compare with:
> 
> <p xml:lang="en">Jean put dire comment on tape</p>
> <p xml:lang="fr">Jean put dire comment on tape</p>
> 
> (My thanks to Richard Ishida for this example)
> 
> -- 
>  Chris                            mailto:chris@w3.org
> 
> 
Received on Saturday, 16 March 2002 15:53:31 GMT

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