Rahul Singh
Rahul Singh

Reputation: 1632

Styling HTML checkboxes with images

I want to add an image to the checkbox... That is if it is selected tick mark (I have image) should be shown. else cross image should be shown... Is this possible using CSS or using jQuery? Please provide me link that guide me.

Upvotes: 0

Views: 556

Answers (3)

sirmdawg
sirmdawg

Reputation: 2579

You might like to try:

  1. http://widowmaker.kiev.ua/checkbox/
  2. http://boedesign.com/blog/2008/06/08/imagetick-for-jquery/
  3. http://aaronweyenberg.com/90/pretty-checkboxes-with-jquery

First one seems quite useful :)

Third one is pretty (if I can say that about code)

Upvotes: 0

Wouter Dorgelo
Wouter Dorgelo

Reputation: 11978

You can do this with CSS and some JS:

http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/

Upvotes: 2

MCSI
MCSI

Reputation: 2894

its imposible with css, you have to use any plugin

for example, with the example of @mr-pallazzo and changing the image, with your own image

Upvotes: 0

Related Questions