Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 750
  • Last Modified:

display a 'X' for an html checkbox

Hi experts,

Is it possible display a 'x' for an html checkbox when we click on instead of 'tick' mark. Can we change this? Maybe using a Javascript code?

Regards,
0
alcani
Asked:
alcani
1 Solution
 
Jagadishwor DulalBraces MediaCommented:
You mean you want to use custom it is possible using css only also:
http://www.wufoo.com/2011/06/13/custom-radio-buttons-and-checkboxes/
0
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I think you are better off leaving it a check as is since that will be easier to make your form compatible with multiple devices and browsers.   Otherwise, the way to do what you want is with a sprite like shown here

http://csscheckbox.com
and
http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/quick-tip-easy-css3-checkboxes-and-radio-buttons/. ( Just make your own sprite with an X instead of a Tick.)

Alternative options with a tick.
http://www.inserthtml.com/2012/06/custom-form-radio-checkbox/
http://cssdeck.com/labs/css-checkbox-styles.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now