RE: [CSS21] colons are forbidden in type selectors

Hi,

> -----Original Message-----
> From: Ian Hickson [mailto:ian@hixie.ch]
> Sent: Sunday, October 19, 2003 4:21 PM
> To: Robert Koberg
> Cc: www-style@w3.org
> 
> On Sun, 19 Oct 2003, Robert Koberg wrote:
> > >
> > > In non-namespace-aware browsers, you would do:
> > >
> > >    pre\:name { font-weight: bold; }
> > >
> > > However, this is very poor semantically, as it gives special meaning
> to
> > > the namespace prefix.
> > >
> > > Instead you should use CSS3 Selectors, that are supported by basically
> all
> > > the namespace-aware XML+CSS browsers:
> >
> > What percentage of real users have these kind of browsers?
> 
> Pretty much all usefully namespace-aware CSS+XML browsers support
> namespace selectors, so of the users that this is an issue for, about
> 100%. Of course, IE6 doesn't fall into that category, but if you are going
> to target IE, why would you use XML with namespaces?

I need to use namespaces in IE to make the XML show (and be styled by CSS to
get the same L&F they would get if it was transformed for general
consumption) and so that it can be edited according to an XML Schema.

-Rob

Received on Sunday, 19 October 2003 19:29:45 UTC