Sign in to follow this  
Brocketino

[web] Selecting elements

Recommended Posts

Brocketino    101
I don't want a user to be able to select any elements in a site ( so no blue bars appear around text, images, etc when the user click-and-drag in the document ), how can I achive this with something like stylesheets?

Share this post


Link to post
Share on other sites
Brocketino    101
Quote:
Original post by Apocryphiliac
Just curious, but... Why?

I'm working on a site wich will have a something like a windows GUI, but it looks ugly when the folders, text, etc is getting highlighted.

Share this post


Link to post
Share on other sites
Brocketino    101
Put the cursor next to the post reply button on this site, press the left mouse button and drag it over the button, it is that blue marker i wanna get rid off.

Share this post


Link to post
Share on other sites
Spintwo    358
Am i the only one to say ....?

Why does it matter? I doubt the end user is going to attempt to highlight the image, and most likely they won't care. Even if they do...so what?

Share this post


Link to post
Share on other sites
Brocketino    101
Quote:
Original post by Charles Hwang
Am i the only one to say ....?

Why does it matter? I doubt the end user is going to attempt to highlight the image, and most likely they won't care. Even if they do...so what?


Thanx for nothing:(

Share this post


Link to post
Share on other sites
igni ferroque    415
Quote:
I'm working on a site wich will have a something like a windows GUI, but it looks ugly when the folders, text, etc is getting highlighted.

Sounds like a job for Flash.

Share this post


Link to post
Share on other sites
Pipo DeClown    804
I've found the perfect answer for you. Use div-tags with background-images and onClick events. This way, you can have a button-ish looking element, where the image cannot be selected.

[wink] Yay!

Made a quick example.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this