- From: Rijk van Geijtenbeek <rijk@iname.com>
- Date: Sun, 17 Mar 2002 12:53:03 +0100
- To: www-style@w3.org
Hello Tantek, On Sunday, March 17, 2002 you wrote: [..] > The _correct_ way to select elements based on language is with the CSS2 > :lang() selector, e.g. > div:lang(en) { > color: black; > background-color: white; > } > div:lang(es) { > color: white; > backgorund-color: black; > } > Now, as far as implementations, IE5/Mac implements :lang() whereas I don't > know if any of the other browsers do. You'll need to try them out and bug > their vendors accordingly. Opera doesn't support :lang, but it does support attribute selectors, so you'd need this styling: [lang|=en] > * { ... } [lang|=no] > * { ... } Greetings, Rijk mailto:rijk@iname.com Mot du Jour: Black Holes are Out of Sight
Received on Sunday, 17 March 2002 06:48:34 UTC