1

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 ?

Wilfred Hughes
  • 29,846
  • 15
  • 139
  • 192
Bishan
  • 15,211
  • 52
  • 164
  • 258
  • 1
    Possible duplicate of [How to style checkbox using CSS?](http://stackoverflow.com/questions/4148499/how-to-style-checkbox-using-css) – Wilfred Hughes Oct 19 '16 at 16:51

1 Answers1

1

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.

Community
  • 1
  • 1
2C-B
  • 3,457
  • 1
  • 18
  • 22