Re: XHTML1.1 DTD errata or Validator bug?

> I used a unique id is used to give it a "hook" for user specified CSS, so
> that they can specify CSS rules by:
>
> html#mydomain elem.class {
> foo: bar;
> }

Wouldn't that interrupt,  the "Cascade", import order, whatever?
>
> Giving body a unique id would suffce in HTML4, but it seems in XHTML, and
> sending as application/xhtml+xml to compliant agents (Gecko and Amaya),
for
> Gecko at least, <html> is a better place to give the unique id than usng
> <body>, since <body> looses it's "magicness", and <html> behaves more like
> the canvas.
>
So, if you want to treat the <html> root node of an XML file the thing to do
would be to insert an xml-stylesheet
processing instruction  <?xml-stylesheet type="text/css"
href="mydomain.css"?>
...  I'm not sure about Gecko but Modzilla, Opera, Amaya or even IE have no
problem with that.

> I can do this in XHTML1.0 (Strict or Transitional) but I _cannot_ do so in
> XHTML1.1, which should just be XHTML1.0 Strict modularized.

I thought so too.

Received on Saturday, 3 May 2003 13:57:11 UTC