Created
August 27, 2010 06:37
-
-
Save wjzhangq/552922 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>测试fix浮动</title> | |
<style type="text/css"> | |
.FixTop{z-index:10000;width:100%;height:24px;position:absolute;position:fixed; | |
bottom:0;right:0;text-align:center;background-color: gray; | |
_position:absolute; | |
_top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? (documentElement.scrollTop + documentElement.clientHeight - 24) : (document.body.scrollTop + document.body.clientHeight -24)); | |
} | |
</style> | |
<head> | |
<body> | |
<div class="FixTop"> | |
浮动工具条,兼容ie6 | |
</div> | |
<ol> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
<li> </li> | |
</ol> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment