如何禁用图片上的高亮显示 [英] How to disable highlight on a image
本文介绍了如何禁用图片上的高亮显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图禁用图片上的高亮,当我用鼠标移动图像和拖动,
看看:
I'm trying to disable highlight on image, when i move with my mouse on image and drag, Take a look :
感谢alot!
推荐答案
这是一个浏览器属性,不能禁用(除非你想使用可笑的数量的js)如果你使用< img / / code>标记。你可以通过
CSS
让它背景,虽然这将使它不可拖动
That is a browser property that can not be disabled (unless you want to use a ridiculous amount of js) if you're using the <img />
tag. You can have it background via CSS
though that would make it undraggable
这篇关于如何禁用图片上的高亮显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文