W3C home > Mailing lists > Public > www-style@w3.org > December 2002

Re: Recommended practice on selector compatibility

From: Christian Roth <roth@visualclick.de>
Date: Fri, 6 Dec 2002 12:15:12 +0100
To: "www-style Mailing List" <www-style@w3.org>
Message-Id: <20021206111512.11845@mail.visualclick.de>

Dear Bert, Chris, Ian, Tantek, Tim,

thank you for answering my questions. I now use a combination of your
suggestions, namely providing two rules for the same class in my CSS like

.name { ... }
  along with
*[class=name] { ... }

as well as the idea to not use the space, but the non breaking space as
separator. This now works acceptably with IE 6 Win and Mozilla Mac, the
only two I have come to test so far. Also you were correct that browsers
(even the ones that do not even support CSS1 completely) seem to
implement the CSS2 escape mechanism (incl. ignoring one trailing space) -
which is key to the solution I am now using.

Regards, Christian.
Received on Friday, 6 December 2002 06:21:27 GMT

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