Today I went to a foreigner website and saw that his website was very smooth but had no js. I was curious, so it turns out. . It's clever. Share it. It saves resources relatively speaking. But the effect is good, easy to use, and takes into account w3c. Haha
ie-stuff.css
#footer {
position: absolute;
bottom: auto;
clear: both;
top:expression(eval( document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop
(documentElement.clientHeight-this.clientHeight) - 1
: document.body.scrollTop
( document.body.clientHeight-this.clientHeight) - 1);
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn