Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to set background color, border color and checked color to a input type check box. how i do do this in folloing code, using css or inline style in asp.net.
XML
<ul class="list-unstyled">
                    <li>
                        <label>
                            <input type="checkbox" name="checkbox"/>DELL</label></li>
                    <li>
                        <label>
                            <input type="checkbox" name="checkbox"/>NIKE</label></li>
                    <li>
                        <label>
                            <input type="checkbox" name="checkbox"/>REEBOK</label></li>
                    <li>
                        <label>
                            <input type="checkbox" name="checkbox"/>ACER</label></li>
                    <li>
                        <label>
                            <input type="checkbox" name="checkbox"/>COTTON</label></li>
                    <li>
                        <label>
                            <input type="checkbox" name="checkbox"/>BLACK BERRY</label></li>
                    <li>
                        <label>
                            <input type="checkbox" name="checkbox"/>ADDIDAS</label></li>
                    <li>
                        <label>
                            <input type="checkbox" name="checkbox"/>PUMA</label></li>
                </ul>
Posted

1 solution

Using CSS you can do it.

1. CSS Checkbox Styles[^]
2. CSS 3 CheckBox Styles[^]
3. http://www.csscheckbox.com/[^]. You can download the kit and start designing yourself.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900