ie6 does not support position:fixed. There are many solutions on the Internet. Some of them are successfully debugged on ie6 and ie7, but they do not work on ie8. The div layer still floats following the scroll bar. The following summarizes the methods, which can be used in ie6. The debugging was successful on both ie7 and ie8, and when the page scroll bar scrolls, the effect is quite good, and the div layer does not flicker.
css: