Bill Brown wrote:

>> http://techsoup-global.org/node/1132

> You need a hasLayout fix on your #container element. #container 
> {zoom:1} should do the trick.
> 
> You can test this by visiting your page and entering this into the 
> URL: 
> javascript:(document.getElementById('container').style.cssText=null)();

The thing is that IE(6) ignores a '#container {zoom:1}' or any other
'hasLayout' trigger - even when styled inline, and won't react properly
until "shaken". A simple attempt to resize fonts (the page uses fixed
fonts, btw) will do the "shaking" trick, but that's of no use for
anything but testing.

The huge number of stylesheets made me stop debugging and and instead
apply the old clearing-trick, as IE is known to threat a <br> with
clearing-styles as a "special case".

Years have passed since I last had to use it for such cases, so apart
from that one <br> is enough to make IE react when 'hasLayout' is
triggered on the container, and two subsequent <br> was needed when
'hasLayout' was not triggered on the container. I've forgotten all the
buggy details that made such a special clearing-trick necessary, so
y'all free to go bug-hunting.

Nowadays I only use the <br> to cure certain "unstable space after
float" bugs in IE, since nothing else seems to work on those. IMO the
page in question suffers from a similar instability, but I can't track
down the exact cause.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to