Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How do I control the appearance of checkboxes?

How do I control the appearance of checkboxes?

Scheduled Pinned Locked Moved ASP.NET
question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amymarie3
    wrote on last edited by
    #1

    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.

    C K 2 Replies Last reply
    0
    • A amymarie3

      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.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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 )

      A 1 Reply Last reply
      0
      • A amymarie3

        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.

        K Offline
        K Offline
        Ken Fan
        wrote on last edited by
        #3

        use css can solve it!

        allways study

        A 1 Reply Last reply
        0
        • K Ken Fan

          use css can solve it!

          allways study

          A Offline
          A Offline
          amymarie3
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • C Christian Graus

            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 )

            A Offline
            A Offline
            amymarie3
            wrote on last edited by
            #5

            Thanks for the reply but it still doesn't answer my question. I have done a bunch of research on this issue and can't seem to be able to find the answer for, checkboxes specifically, any where.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups