2020国产成人精品视频,性做久久久久久久久,亚洲国产成人久久综合一区,亚洲影院天堂中文av色

分享

position:fixed——IE條件注釋解決方案

 悟靜 2013-01-08
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www./TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www./1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>position:fixed——IE條件注釋解決方案</title>
<style type="text/css">
<!--
body {margin: 0; padding:0}
p{ height:50px}
.fixed {padding: 10px; background: #000; left: 0px;  color: #fff;  position: fixed; top:0; }
-->
</style>
<!--[if IE 6]>  
<style type="text/css">*/
html{overflow:hidden;}
body{height:100%;overflow:auto;}
.fixed{position:absolute;}
</style>
<![endif]-->
<!--[if lt IE 6]>
<style type="text/css">
.fixed{position:absolute;top:(eval(document.body.scrollTop + 50));}
</style>
<![endif]-->

</head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
<div class=fixed>position: fixed;我始終在屏幕左上角哦</div>
<div>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P>
<P>這是為了增加高度</P></div>
</body>
</html>

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多