使图像无法选择 [英] Make images not selectable

查看:112
本文介绍了使图像无法选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Dreamweaver CS5中创建一个网站.我从photoshop导出图像,然后将它们插入到表格中.当我查看站点时,所有图像都是可选的(您可以将它们拖到桌面上).我该如何更改???除了要如何做到这一点,我还想用onclick方法做到这一点?

I am making a website in dreamweaver CS5. I exported the images from photoshop an inserted them into a table. When I view the site all the images are selectable(you are able to drag them to your desktop). How do I change this??? I want to do it with an onclick method in addition how would I achieve this?

<td><img src="images/people_03.png" name="one" width="1000" height="156" id="one" ONCLICK="closeimages();"/></td>

推荐答案

我认为最简单的方法是将图像作为CSS背景图像制作到每个单元格中

Easiest way I think would be to make the images as css background images to each cell

这篇关于使图像无法选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆