Re[4]: CSS3 - Define Language

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 UTC