Re: [css3-namespace] XML Core WG's review

Karl Dubost wrote:
> <html xmlns="http://www.w3.org/2002/06/xhtml2/"
>       xmlns:dc="http://dublincore.org/documents/dcmi-namespace/"
>       xmlns:DC="http://foo.example.org/"
...
>         @namespace dc "http://dublincore.org/documents/dcmi-namespace/";
>         @namespace foo "http://foo.example.org/";
>         foo|title {text-align: left;}
>         dc|title {text-align: center;}
...
>      <dc:title><cite href="urn:isbn:0060006994">Fix-it Duck</cite></ 
> dc:title>
>      <DC:title>Doctor</DC:title>

> Will it effectively style the two elements?
>    - "Fix-it Duck"     centered
>    - "Doctor"          left justified

Yes, it will, if the two "title" elements are display:block.

-Boris

Received on Thursday, 7 September 2006 04:51:13 UTC