W3C home > Mailing lists > Public > www-international@w3.org > January to March 2003

Re: Multilingual *.css

From: Chris Croome <chris@webarchitects.co.uk>
Date: Tue, 4 Feb 2003 09:10:00 +0000
To: www-international@w3.org
Message-ID: <20030204091000.GC2284@webarchitects.co.uk>


On Tue 04-Feb-2003 at 09:54:30AM +0100, Mohammed Omer Yousif Brigdar
> I use the IE Version 6, and I want to edit MyCSS.css so that
> different charsets and font-families from many languages are
> included, e.g. japanese, russian, sawahili, arabic, chinese and
> indian.

IE doesn't support the lang pseudo-class:

  html:lang(de) {
  font-family: "German Sans";


Nor these kind of selectors:

  html[lang|="de"] {
  font-family: "German Sans";


So one of the only options is to create a class for each language,

  .de {
  font-family: "German Sans";

  <p class="de">German</p>

> Also I want to use right-to-left for languages that have the
> right-to-left feature.

I have found that the dir attribute is only really necessary for
things that have no specific direction, eg the seperators for a
bread-crumb trail like this:

  You are here: English Doc > Urdu Doc > Urdu Doc > English Doc

In the above example the two Urdu documents will be in the wrong
order unless dir is set on the >, ie:

  <bdo dir="ltr">&gt;</bdo>


Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
everything else                               http://chris.croome.net/  
Received on Tuesday, 4 February 2003 04:10:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:47 UTC