On Fri, 8 Dec 2006 13:13:30 +0330, Mohsen Saboorian wrote: > Hi, > I have a CSS rule, which works fine on Mozilla. For IE 6 to work, I > overrided each item with a '_' padded equal rule, e.g.: > > position: fixed; > _position: absolute; > > Now that I want to use IE 7 (which supports fixed positioning), how can I
> have it work with the first rule. Is there any rule-specific hack, or > conditional tag for CSS? Hi Mohsen, I believe that IE 7 will ignore the second declaration, thus doing what you want. Although this bug was fixed in IE 7, I heard that a leading asterisk (*) will be accepted by both IE 6 AND IE 7. You may be able to correct me on this. For me, Microsoft's "Conditional Comments"[1] provides a robust solution, avoiding the need for hacks. But I do realize that using your technique during development is a good shortcut while working out the bugs. So please let us know if the * hack works for IE 7. Thanks. [1] <http://preview.tinyurl.com/x113> Cordially, David -- www.hucklesby.com ______________________________________________________________________ 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/
