W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2006

Re: css validation - IE hacks

From: Kravvitz <kravvitz@dynamicsitesolutions.com>
Date: Thu, 27 Jul 2006 15:52:20 -0400
Message-ID: <12b1d2060607271252t3e9b47cfmf1c61d1bf7f0086b@mail.gmail.com>
To: "Hraběta Lukáš" <hrabeta@post.cz>, www-validator-css@w3.org
It's never necessary to use that hack.

You can use the Star HTML hack
<http://www.centricle.com/ref/css/filters/tests/star_html/>
and Escaped Comment-End hack
<http://www.centricle.com/ref/css/filters/tests/escaped_close/>

OR

use IE5+/Win's conditional comments instead.
<http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp>
<http://www.positioniseverything.net/articles/multiIE.html>
<http://www.quirksmode.org/css/condcom.html>

-- Kravvitz

On 7/26/06, Hraběta Lukáš <hrabeta@post.cz> wrote:
>
> Hello,
> I have one question to you :)
>
> Is there some possibility to validate this css hack for IE ?
>
> its something like this:
> -------------------------------
> ..something {
> margin-left:10px; /* for FF, opera etc.*/
> _margin-left:5px /* hack only for IE*/
> }
>
> IE counts sizes differently and sometimes it´s necessary to use this hack. And I think it could be valid too :)
>
> Thank you for your time ... Have a nice day ;)
>
> _____________________
> S pranim hezkeho dne ...
> Hrabeta Lukas
>
> http://www.hsoft.hrabeta.ws
> http://www.h-soft.site.cz
> +420 607 948 962
>
>
>
Received on Thursday, 27 July 2006 19:52:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:17 GMT