hey there,
I have some images that I want to use instead of checkboxes in an application I am building.

The images consist of two images. Yes, the two images inside an image are the same except for the background color. One color would indicate when the option the image stands for is selected, and the other for when not selected.

I believe I need to use css to do this. Could someone please tell me how I do this using css?

thank you in advance.

It sounds like you are referring to using CSS Sprites.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.