How do I control the appearance of checkboxes?
-
I have checkboxes on my website and I want to do the following: * change the color of the check in the checkbox * change the border color of the checkbox * change the size of the checkbox * left align the edge of the checkbox with the other controls on my page All of my chages refer to the little square checkbox it's self and not the entire control. Can you please tell me if it is possible and if not what the alternatives are? Thank you.
-
I have checkboxes on my website and I want to do the following: * change the color of the check in the checkbox * change the border color of the checkbox * change the size of the checkbox * left align the edge of the checkbox with the other controls on my page All of my chages refer to the little square checkbox it's self and not the entire control. Can you please tell me if it is possible and if not what the alternatives are? Thank you.
I am pretty sure you cannot change the size. As to the others, the best place to look is to read up on html, at the end of the day, what you're asking doesn't have anything to do with ASP.NET, you need to know if a browser is able to show checkboxes with different colors. Aligning them is up to you, you can use tables or CSS to position your controls.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
I have checkboxes on my website and I want to do the following: * change the color of the check in the checkbox * change the border color of the checkbox * change the size of the checkbox * left align the edge of the checkbox with the other controls on my page All of my chages refer to the little square checkbox it's self and not the entire control. Can you please tell me if it is possible and if not what the alternatives are? Thank you.
-
I wouldn't have asked the question if the answer was css. I know enough to read the basic books on HTML and there is no answer in any of them to my question. If you don't have a specific answer to my question please don't insult my intelligance with stupid answers.
-
I am pretty sure you cannot change the size. As to the others, the best place to look is to read up on html, at the end of the day, what you're asking doesn't have anything to do with ASP.NET, you need to know if a browser is able to show checkboxes with different colors. Aligning them is up to you, you can use tables or CSS to position your controls.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )