TO filter the other way you can use something like
.clearing { display:none } /* IE 6 & 7 */
*|html .clearing { display:block } /* everything else */

Chris

On 3/22/07, Mark Story <[EMAIL PROTECTED]> wrote:
> The selector I've been using with quite a bit of success is
>
> *:first-child+html
> so in your circumstance it would be
>
> *:first-child+html .clearing {
>
> This selector uses the invisible super parent object above html that
> only IE has, it then uses CSS2 selectors to target the HTML object
> something that IE6 cannot do. This selector is completely ignored by
> other browsers as they don't have an element above html.
>
> -Mark
>
> Pelle wrote:
> > Hi all.
> >
> > I have this in my CSS
> > * html .clearing {display:none;}
> >
> > i NEED this to imp+lement in IE7 too, but NOT in Ffx or so.
> > What is the bug code for this?
> > In pure .css file cause it is external, no javascript or [if lte IE 7]
> > works in this case :(
> >
> > Regards Pelle
> >
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>


-- 
Chris Ovenden

http://thepeer.blogspot.com
"Imagine all the people / Sharing all the world"
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to