Re: XHTML Strict 1.1 Validation vs 1.0

David Cédric Latapie wrote:

> I found a real stopper for me in XHTML 1.1: it doesn't allow the ":lang" 
> attribute anymore; only "xml:lang" is possible. And "xml:lang" can't be 
> styled with CSS...

Yes it can, via the :lang() pseudo-class selector:

http://www.w3.org/International/questions/qa-css-lang

Internet Explorer 6 and 7 don't support it, but that's irrelevant since 
the current version of XHTML 1.1 must not be served as text/html so 
can't be used with IE anyway.

--
Benjamin Hawkes-Lewis

Received on Wednesday, 2 April 2008 18:41:16 UTC