div模拟滚动条当div宽度小于18时滚动条不滚动
div模拟滚动条当div宽度小于18时滚动条不滚动
发布时间:2016-12-27 来源:查字典编辑
摘要:IE浏览器,div模拟滚动条,div宽度小于18滚动条不滚动环境win7IE10代码:scrollIE10浏览器运行在IE7,8,9,10模...

IE浏览器,div模拟滚动条,div宽度小于18 滚动条不滚动

环境 win7 IE 10

代码:

<!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>

<div></div>

</div>

<div>

<div></div>

</div>

</body>

</html>

IE10浏览器运行在 IE7,8,9,10模式下,测试用div模拟滚动条时,如果div宽度小于18px时,单击滚动条有问题,滚动条不能正常滚动。

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新 Div+Css教程学习
热门 Div+Css教程学习
网页设计子分类