Re: css validation - IE hacks

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 UTC