473,808 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to create a round checkbox

254 Contributor
Hi

I wanted to create a check box which will be like a circle and when I clicked a red tick should come. how can I do it using css please suggest and some one has done this before then please share your ideas.
Nov 23 '09 #1
3 7813
clai83
41 New Member
Using CSS alone to change the appearance of a checkbox I would say is "difficult" . Since styling of form elements is browser specific there is no way I know of currently to change all checkbox styles across all browsers. There may be browser specific css extensions, however, I have not been able to find any (at least for Firefox). The closest thing I came across was -moz-appearance: radio; however, you don't get the "tick" that you want like a normal checkbox.

My opinion is to use javascript using images for checked and unchecked status of a radio and using an onclick event handler to change the appearance; however, that is javascript not css.

Good Luck in your search.
Nov 29 '09 #2
mukeshrasm
254 Contributor
Thanks for your response and suggestion and still I am looking for the solution.
Dec 3 '09 #3
AricC
1,892 Recognized Expert Top Contributor
I doubt you'll find a better solution. You pretty much have to use images which is pretty easy.
Dec 10 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
3569
by: Bil Muh | last post by:
Esteemede Developers, I would like to Thank All of You in advance for your sincere guidances. I am developing a software using Visual C++ .NET Standard Edition with Windows Form (.NET) template. Briefly -------------------------------------------------------------------------------------------- I need to create dynamically some controls on the forms, and display these
1
1464
by: simon_desarte | last post by:
Hi There, I am hoping somebody can point me in the right direction - I have created an ASP page which creates a list of all documents in a given folder (testfolder in the root). (Code is pasted below) What I would like to do is create a form checkbox after each file link, how would I create this so that a new unique checkbox is created for each individual file. Could anybody give me any pointers please
3
9021
by: Thomas Kehl | last post by:
Hi. Does anybody have a sample, how does I can make a checkBox ownerdrawn? I need to change the color inside of the box. Can anyone help me, how does I have to do this? Thanks Thomas
1
1304
by: Usman Ghani | last post by:
Hi All, Please help me to develop this one page please. I have a page on which I have a label control, just one label with no text. Next I start a loop to read the headers of emails and during each loop round, I add rows to table. Now ok this plain text et addition is not a problem. In one cell I want to add a check box at run time and here don't know how to that.
0
1548
by: NEMA | last post by:
Hi all, How can i add checkbox template column to a datagird? As i dont want to add all row with a checkbox, it will add a checkbox when it checked that it round 2. can i do it with VB.NET and ASP.NET?
0
1464
by: dotnet dude | last post by:
I am creating a DataGrid control (ASP.NET 1.) with few bound columns and one template column in which i want to display CheckBox. So for each row in datagrid some databound fields and a checkbox column. When a checkbox is selected, it indicates that particular row is selected. The checkbox selection I want to do is through javascript to improve the performance of the application. How do I design such datagrid which allows me to do...
4
2429
by: colonial | last post by:
I was wondering if what I'm trying to do in Access XP and 2003 is possible. I've looked at countless templates and samples and havn't seen anything like what I want to do to be able to construct it. I've tried manipulating queries, relationships different table joins but to no avail. I'm only a beginner in VBA and know little SQL, I would be truly gratefull if someone can please shed some light on the below. I've been creating a...
1
1246
by: hotrod57 | last post by:
I am using php to write a function that reads in lines from a text file and creates a form with the corresponding input values. I have a text file that looks like this: title = Test Page checkbox = shoe checkbox = comb I can separate these lines into an array, ($array = title, checkbox, checkbox, and $array = Test Page, shoe, comb) but I can't seem to figure out how to get the function to print out each array with its value. For...
2
1460
by: hotrod57 | last post by:
I have a text file that is changeable that I want to use to create a form with. Here is my text file, called 'test_read.txt": title = Test Form; checkbox = shoe; checkbox = hair; radio_button = 3; comment_box dropbox = 18-29; dropbox = 30-49; dropbox = 50-75;
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10628
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10113
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9195
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.