three states checkbox

B

Bob Bedford

I've been able to disable a checkbox when needed. This is fine, but on my
website, you don't really see that the checkbox is disabled. Does it exist a
way to show a red X in the middle of the checkbox instead of disable it, and
also avoid a user to click on it ?

I've looked around, but couldn't find any help.

Thanks
 
M

Mick White

Bob said:
I've been able to disable a checkbox when needed. This is fine, but on my
website, you don't really see that the checkbox is disabled. Does it exist a
way to show a red X in the middle of the checkbox instead of disable it, and
also avoid a user to click on it ?

I've looked around, but couldn't find any help.

Thanks

Your browser should give you some clue that an element is disabled,
usually the element is "greyed" out.
Mick
 
B

Bob Bedford

Mick White said:
Your browser should give you some clue that an element is disabled,
usually the element is "greyed" out.
Mick

I know, but since the background is grey, it doesn't look very well !!!! and
the purpose is also to show the disabled buttons.
 
I

Ivo

"Mick White" a écrit it,

I know, but since the background is grey, it doesn't look very well !!!! and
the purpose is also to show the disabled buttons.

Overlay a transparant image with a big red X over the checkbox using
position:absolute. This way the image will be clicked, not the checkbox.
HTH
Ivo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top