Source: http://www.css88.com/archives/744
-------------------------------------------------------------------------------------------------
IE6 under the link pseudo-class (: hover) CSS background image has a flashing bug, the main reason IE will once again request this picture, or that the picture is not cached.
For example:
CSS Code
- a:hover{background:URL (imagepath)}
Common solutions:
Add the following IE6 private code at the bottom of the page to let IE6 cache the CSS background image locally so that the a:hover will not be re-requested to load the background image at the time of IE6.
xml/html Code
- <!–[if IE 6]>
- <script type= "text/javascript">
- Document.execcommand ("Backgroundimagecache", false, true);
- </Script>
- <! [endif]–>
Or
xml/html Code
- <!–[if IE 6]>
- <script type=text/javascript>
- try {
- Document.execcommand ("Backgroundimagecache", false, true);
- } catch (Err) {}
- </Script>
- <! [endif]–>
"Go" link pseudo-Class (: hover) CSS background picture has flashing bug