Why would you not just use conditional stylesheets? They're well supported and mean that your core css will validate perfectly.
> -----Original Message----- > From: listdad@webstandardsgroup.org > [mailto:[EMAIL PROTECTED] On Behalf Of > Pierre-Henri Lavigne > Sent: 10 February 2007 17:20 > To: wsg@webstandardsgroup.org > Subject: [WSG] "Avoid non valid css hacks" > > Ok at my work I joined last october they used to work with ie > hacks such as _ > > In their specifications, they are releasing only valid html > code and not css, and I am trying to release valid css > stylesheets too, (Boum) I still used tantek hack for example > with voice-family. And for various reasons, they don't like > it. For maintaining they don't want to use ie conditional > stylesheets for example and want everything in one stylesheet. > > So everyone think about it, decided to upgrade it > progressivly to try finding new stuffs. > > First initiative came from a colleague who suggest for width > and height properties : > width: 980px !important; /* standard loving browser */ > width: 952px; /* IE5 */ > width /**/ : /**/ 962px; /* IE6 */ > > What do you think about it ? Is it a method already used on the web ? > > My other question is different and was about the selector >. > I am using > html>body #container for example. > On the source from webstandardsawards.com they are using > body>#container. > I suppose it is ok 'cause IE 6 won't understand it, but was > it tested in depth ? > > Cheers, > > -- > Wcube . eQuesto > Pierre-Henri LAVIGNE > Web developer xhtml - css > 33, rue des Jeûneurs - FR 75002 Paris > [EMAIL PROTECTED] > Phone: +33(0)1 42 47 83 83 > www.wcube.fr / www.equesto.fr > > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************