![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html
九尾狐的yi巴
这个作者很懒,什么都没留下…
展开
-
阻止浏览器记住密码功能干扰表单填充
1.把input type=”password” 改成 input type=”text” 并在后面加上 onfocus=”this.type=’password'”(这种在展示的时候密码会变成明文。。。)2.在文档加载完成后将密码输入框设置为空window.load = function(){ document.getElementById('ID').value='';...转载 2019-05-12 13:53:25 · 251 阅读 · 0 评论 -
div 如何加滚动条
div 加滚动条的两种方法:一、<div style=" overflow:scroll; width:400px; height:400px;”></div>记住宽和高一定要设置噢,否则不成的不过在不超出时,会有下面的滚动条,所以不是最好的选择二、<div style=" overflow-y:auto; overflow-x:auto...转载 2019-09-12 15:46:09 · 692 阅读 · 0 评论