Bryce Fields wrote: >Hi all, > >We've encountered a strange CSS bug where I work. It occurs in IE6 on >WinXP and is incredibly similar to the peekaboo bug in its behavior, >but does not involve any floats. > >Here's a sample page: >http://sandbox.royalrodent.com/peekabootoo/ > >You'll notice when you view this page in IE6, you see the "Now you see >me!", but not the "Now you don't!" text above it unless you scoll it >off and back on the page, or highlight it. Just like the peekaboo bug >in behavior. > >After experimentation, we've discovered these removing the empty span >element made the whole problem disappear and that's what we ran with. >But we've now had this same behavior pop up in instances which we >cannot trace back to any one particular element and is not >attributable to floated items (like the original peekaboo). > >Has anyone seen anything like this before, knows the cause of it, and >knows how to prevent it from happening? If so, we'd love to hear how. > >BTW, for what it's worth, after experimenting w/ the above page, we >found we can also remedy the problem by giving a padding:0 to #content >or .content, or changing the background color on #content to >transparent. > > Hi Bryce, Adding: #content { height: 1%; } is solving the problem too, so I guess it might be one of the manifestations of the hasLayout-thing. See Ingo Chao's article On Having Layout <http://www.satzansatz.de/cssd/onhavinglayout.html>.
Greetings, francky ______________________________________________________________________ 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/