Re: css lang() selector

* Andrew Cunningham wrote:
>I've been playing around with the CSS :lang() selector on Mozilla 
>(Windows). The current versions support the :lang() selector when the 
>XHTML 1.0/HTML lang attribute is used. On the version of Mozilla I'm 
>using (1.4), the :lang() selector does not work when only the xml:lang 
>attribute is used (i.e. in XHTML 1.1).

Are you sure you are not running into MIME Type issues (i.e., your
document is delivered as text/html and not application/xhtml+xml)?
For example,

  http://www.bjoernsworld.de/temp/xml-lang.xhtml

Both paragraphs are green using Mozilla 1.3a.

Received on Wednesday, 6 August 2003 09:58:26 UTC