PDA

View Full Version : CSS Changes when scrolled past in IE


JohnnyV
09-28-2005, 10:18 PM
I'm having a strange problem. There is a header on this web app that i'm working on. The header is simply a DIV with styles applied to it. In IE when I scroll down the page, then back up to the top the background color of the header disappers. It comes back if I click around randomly on the page or scroll up and down again. Also, if i highlight any text or images in the header with my mouse, any area in that block where the text/images are loses its background color. This only happens in IE.

Is this some strange bug or is it because my system is low on memory or something?

ronaldb66
09-29-2005, 10:00 AM
It would help if you supplied the markup and styles, but I too experienced strange background color behaviour on IE in certain circumstances.
I have no idea what's causing it (positioning somehow seems to be vaguely related to it), but in my case, giving the affected elements an explicit height solved the problem. I don't know if that is possible in your case, of course.