Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I need to flat and style CheckBox in my aspx page. I used below css code. but nothing happen.

input[type="checkbox"]
{
    border: 1px solid #ccc;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px; 
}

How can i solve this ?

share|improve this question

From your question, I assume you are looking at something like THIS.

From the above link you can find a resource for customizing your check boxes to Flatter appearance as desired.

Hope this helps.

share|improve this answer

There is no reliable cross-browser way to style checkboxes, radio buttons or select fields, so the best results are achieved by creating the illusion of styled elements through the use of images. A simple web search for "styled checkboxes" will provide you with numerous samples.

You may also want to take a look at this post.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.