HTML people, code to deselect image selecting
|
View this Thread in Original format
Psygnosis |
You know on how on many browsers like explorer and mozilla, whenever u go over a image then it gets highlighted. With Opera, it doesn't do this.
I was just wondering if there is a code that will make images not selectable whenever you select everything?? |
|
|
Streakfury |
If you're using a browser that supports CSS3 (such as Mozilla) you could use the 'user-select' attribute for the image. In the stylesheet write:
img {
-moz-user-select: none;
user-select: none;
}
From what I've read, that should sort you out.
:) |
|
|
Psygnosis |
thanks mate, i'll give it a go :) |
|
|
|
|