欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

div模擬滾動(dòng)條當(dāng)div寬度小于18時(shí)滾動(dòng)條不滾動(dòng)

  發(fā)布時(shí)間:2013-11-07 16:07:26   作者:佚名   我要評(píng)論
IE瀏覽器下使用div模擬滾動(dòng)條當(dāng)div寬度小于18時(shí)滾動(dòng)條不滾動(dòng),具體的實(shí)現(xiàn)代碼如下,需要的朋友可以參考下
IE瀏覽器,div模擬滾動(dòng)條,div寬度小于18 滾動(dòng)條不滾動(dòng)

環(huán)境 win7 IE 10

代碼:

復(fù)制代碼
代碼如下:

<!DOCTYPE html>
<html>
<head>
<title>scroll</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div style="border:1px solid red; width: 18px;height: 200px;overflow-y:auto ;">
<div style="width:1px;height:600px;"></div>
</div>
<div style="border:1px solid red; width: 17px;height: 200px;overflow-y:auto ;">
<div style="width:1px;height:600px;"></div>
</div>
</body>
</html>

IE10瀏覽器運(yùn)行在 IE7,8,9,10模式下,測(cè)試用div模擬滾動(dòng)條時(shí),如果div寬度小于18px時(shí),單擊滾動(dòng)條有問(wèn)題,滾動(dòng)條不能正常滾動(dòng)。

相關(guān)文章

最新評(píng)論