Yes! There is a hack for this, and it is a lifesaver.
One main problem I have with 7.1 and below is that they misinterpret
the correct parent when absolutely positioning a child within a
relatively positioned box - the absolutely positioned box goes to the
grandparent instead of the parent. NN7.2 and equivalent Gecko browsers
fixed this.
The site was thomas.tanreisoftware.com/csshacks.html, but it's down.
Here's what to do, from Google's cache of the site:
-------
The following non-valid variant of the Star-7 hack targets only older
Gecko browsers (from Firebird 0.6 and before, including Netscape 6-7.1
but not 7.2). Unfortunately it is also read by Safari 1.3 (maybe
higher) for some strange reason, even though this is not supposed to
happen. Also, ancient versions of Opera seem to also apply the rule
but this is easy to overcome by throwing in the not selector. Safari
isn't as easy to tame.
html*#whatever:not(foo), foo:-moz-any-link { ... }
You're probably wondering what we can do to drop Safari? It's easier
than it seems. We simply use the following rule, which only works on
elements that aren't empty:
html*#whatever:not(:empty) { ... }
I have verified that this fools Safari 1.3 and 2.02 (416.12). I am not
certain of newer versions of Webcore, but for now it is a viable hack.
---------
It may not be pretty, but it works, and the are some pesky differences
between 7.1 and 7.2, so I've found I have to use it once in awhile.
Zoe, there really are a few(!) cases where this kind of hack is
necessary :)
If you can solve your problem a different way, that's best, but if you
need to hack, this one works like a charm.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/