W3C home > Mailing lists > Public > www-style@w3.org > September 2006

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

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Wed, 06 Sep 2006 23:51:01 -0500
Message-ID: <44FFA535.2050204@mit.edu>
To: Karl Dubost <karl@w3.org>
CC: www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT