1

I have several pages with a background image applied to the body of each one of them (same background image for all pages).

When I go from one page to another it looks like IE7 renders the image again, which looks like flickering.

In Firefox 3.6.3 it does not flicker.

How this flickering can be solved for IE ?

4

1 に答える 1

0

IE の CSS 背景画像のキャッシュは、基本的に最悪です。それを修正する必要がある CSS 用の microsoft フィルターがあります (もちろん独自仕様なので、条件付きコメントで偽装することをお勧めします)。

html { フィルター: 式(document.execCommand("BackgroundImageCache", false, true)); }

于 2010-07-04T13:09:10.773 に答える