The notorious IE6, but you cannot ignore it. IE6 does not support position: fixed. The solution is as follows: first, to solve the problem of IE6 flashing, you may want to add this css: * html, * htmlbody {/*
The notorious IE6, but you cannot ignore it. IE6 does not support position: fixed. The solution is as follows:
First, to solve the problem of IE6 flashing, you may need to add this css:
* Html, * html body {/* only supports IE6 */
Background-image: url (about: blank);/* use an empty background */
Background-attachment: fixed;/* fixed background */
}
IE6 cannot be fixed. You need to use the css code to solve the problem:
/* Fixed the IE6 header */* html. fixed-top {position: absolute; bottom: auto; top: expression(eval(document.doc umentElement. scrollTop);}/* fixed to the right of IE6 */* html. fixed-right {position: absolute; right: auto; left: expression(eval(document.documentelement.scrollleft?document.doc umentElement. clientWidth-this.offsetWidth)-(parseInt (this. currentStyle. marginLeft, 10) | 0)-(parseInt (this. currentStyle. marginRight, 10) | 0);}/* fixed at the bottom of IE6 */* html. fixed-bottom {position: absolute; bottom: auto; top: expression(eval(document.documentelement.scrolltopdeskdocument.doc umentElement. clientHeight-this.offsetHeight-(parseInt (this. currentStyle. marginTop, 10) | 0)-(parseInt (this. currentStyle. marginBottom, 10) | 0);}/* fixed on the left of IE6 */* html. fixed-left {position: absolute; right: auto; left: expression(eval(document.doc umentElement. scrollLeft ));}