sneha khan
sneha khan

Reputation: 69

css styling checkbox look like safari in all browsers

I have asp.net mvc project and many checkboxes client has given me psd in which chech boxes are white and black i think black are checked there is no check tick on any simple is that i want to remove tip and color checked checkboxes colored black with white border.

<input name="24" type="checkbox" value="true" />
<input name="24" type="hidden" value="false" />
<label for="Industry__Manufacturing__and_Technology">Industry</label>
<br />
<input name="25" type="checkbox" value="true" />
<input name="25" type="hidden" value="false" />
<label for="Intelligence">Intelligence</label>                        
<br />
...........

i have like above autogenerated html.

Upvotes: 0

Views: 408

Answers (1)

danwellman
danwellman

Reputation: 9253

Impossible to do using the native controls. Form elements are styled more by the OS than the browser. You'll need to use some kind of replacement technique, something like Uniform (if you're using jQuery) will work

Upvotes: 2

Related Questions