Skip to content Skip to sidebar Skip to footer

Html: How To Cross Check Html Check Box

Is it possiible to cross check HTML checkbox? Thanks Sohail

Solution 1:

I assume you want to change the way a checkbox looks when it is checked.

That is not possible using HTML's native <input type="checkbox"> controls: They are rendered by the browser, and usually in the style the Operating System renders check boxes.

You would have to use a JavaScript checkbox component that allows you to use custom bitmaps. One example is the jQuery checkbox plugin.

Whether adding all this code for this minimal effect is worth the effort, you need to decide for yourself. In my opinion, it is usually not worth it and sticking to the normal controls is better.

Solution 2:

While standard checkbox look could be personalized you might need to implement a custom checkbox to achieve the desired effect.

Post a Comment for "Html: How To Cross Check Html Check Box"