Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: hreflang

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Mon, 06 Feb 2006 20:58:36 +0100
Message-ID: <43E7AA6C.5000506@students.cs.uu.nl>
To: Oskar Welzl <lists@welzl.info>
Cc: www-html@w3.org

Oskar Welzl schreef:
> I still believe that styling links with CSS is the main way of
> reasonably using metainfo like @hreflang; you know, rotating little
> pizzas after links to italian documents ...
>   

:).

> My question ist:
> Am I simply wrong about this? Is there a version of CSS on its way that
> will combine the function of ~= and |= and understand qualifiers before
> XHTML2 will see the light of day?
>   

Good point, I thought |= worked like that, but it doesnâ??t.

I suppose that a couple of cleverly crafted ^= or *= rules can be used 
to match the languages and qualifiers. In practice it is maybe more 
likely that document authors will use only single language-identifiers 
for @hreflang.

[hreflang="nl"],
[hreflang^="nl-"],
[hreflang^="nl;"],
[hreflang^="nl,"],
[hreflang*=",nl-"],
[hreflang*=",nl;"],
[hreflang*=",nl,"],
[hreflang$=",nl"] {
    background-image: url('dutch_flag.png');
}


~Grauw

-- 
Ushiko-san! Kimi wa doushite, Ushiko-san!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laurens Holst, student, university of Utrecht, the Netherlands.
Website: www.grauw.nl. Backbase employee; www.backbase.com.
Received on Monday, 6 February 2006 20:28:53 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.