473,503 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Radio button circle outline color

This is driving me crazy. I'm having trouble with how a simple radio
button is displayed, in a simple html form.

The default has the outline around the radio button shaded gray only
in the top left hand side corner and on a white background it doesn't
show up very well. I've seen multiple examples of radio buttons that
are fully outlined in blue and the little dot is green. How the heck
do I do this??? I've figured out how to change the bg, which does
nothing to the outline around the actual little circle. I've been
searching and searching. Please help.

<input type="radio" name="4_admin_today" value="Yes">

TIA
Jul 20 '05 #1
3 43953


NONYA wrote:
This is driving me crazy. I'm having trouble with how a simple radio
button is displayed, in a simple html form.

The default has the outline around the radio button shaded gray only
in the top left hand side corner and on a white background it doesn't
show up very well. I've seen multiple examples of radio buttons that
are fully outlined in blue and the little dot is green. How the heck
do I do this??? I've figured out how to change the bg, which does
nothing to the outline around the actual little circle. I've been
searching and searching. Please help.


Some browsers allow styling of form controls with CSS but don't expect
consistent results for that, CSS 2 doesn't specify anything about
styling form controls

<style type="text/css">
input.radio {
background-color: lightblue;
color: green;
}
</style>
<form action="">
<input type="radio" class="radio" name="radioName">
<input type="radio" class="radio" name="radioName">
</form>

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2
In message <3f********@olaf.komtel.net>, Martin Honnen
<ma*******@yahoo.de> writes


NONYA wrote:
This is driving me crazy. I'm having trouble with how a simple radio
button is displayed, in a simple html form.
The default has the outline around the radio button shaded gray only
in the top left hand side corner and on a white background it doesn't
show up very well. I've seen multiple examples of radio buttons that
are fully outlined in blue and the little dot is green. How the heck
do I do this??? I've figured out how to change the bg, which does
nothing to the outline around the actual little circle. I've been
searching and searching. Please help.


Some browsers allow styling of form controls with CSS but don't expect
consistent results for that, CSS 2 doesn't specify anything about
styling form controls

<style type="text/css">
input.radio {
background-color: lightblue;
color: green;
}
</style>
<form action="">
<input type="radio" class="radio" name="radioName">
<input type="radio" class="radio" name="radioName">
</form>


IE6 ............. background colour is 'lightblue'; colour is 'black'.

regards

--
Jake
Jul 20 '05 #3
In message <3f********@olaf.komtel.net>, Martin Honnen
<ma*******@yahoo.de> writes


NONYA wrote:
This is driving me crazy. I'm having trouble with how a simple radio
button is displayed, in a simple html form.
The default has the outline around the radio button shaded gray only
in the top left hand side corner and on a white background it doesn't
show up very well. I've seen multiple examples of radio buttons that
are fully outlined in blue and the little dot is green. How the heck
do I do this??? I've figured out how to change the bg, which does
nothing to the outline around the actual little circle. I've been
searching and searching. Please help.


Some browsers allow styling of form controls with CSS but don't expect
consistent results for that, CSS 2 doesn't specify anything about
styling form controls

<style type="text/css">
input.radio {
background-color: lightblue;
color: green;
}
</style>
<form action="">
<input type="radio" class="radio" name="radioName">
<input type="radio" class="radio" name="radioName">
</form>

Opera ............. background colour 'lightblue'; colour is green.
NS7 ................background colour 'white'; colour is black.
NS4.7 ..............background colour 'lightblue'; colour is black.

regards.
--
Jake
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2150
by: Talon | last post by:
Hi all, I am new to Tk, so please bear with me. I need someone better at math than me to help me figure this out. I am drawing multiple arcs on the same circle. All arcs start at 90 and have...
3
1862
by: Larry Bud | last post by:
Not sure if this is the best place to post this, but can I set the internal color of a radio button? Basically the background color inside the circle. TIA!
5
14685
by: joshuaphillips | last post by:
Hi All, I am creating a Kiosk frontend that has tons and tons of radio buttons. (402 to be exact.) Anyhow, because this is a touch screen application, I have added an image to each radio button...
1
5536
by: Leeor Geva | last post by:
did any of you guys notice when adding an onclick javascript to a Radio Button List, it will get fired BEFORE the Dot is set if you click on the Text for that particular Circle. My onlick calls...
6
1868
by: Dominic Godin | last post by:
Hi, I have a some radio buttons on a aspx page that cause a post back. I need to get the checked status in the page_init event handler. However it seems that the checked status is only updated...
7
8704
by: Martijn Mulder | last post by:
How can I put a set of Radio Buttons in a Menu? A bullet list of items where selecting one automatically unselects the others. Thanks
4
16968
by: RC | last post by:
By default the radio button is a hollow circle for unchecked and filled black circle for checked similar for the check box button is a hollow square for unchecked and check symbol for...
2
3736
by: Bob Alston | last post by:
I have an application with several forms. Most forms use radio boxes for Yes/No choices. On a few of these, once one option is selected, the user cannot change the selection without moving to...
4
15884
by: Greg Scharlemann | last post by:
I'm having difficulty getting the radio buttons to align vertically with one another and the header (1 2 3 4 5) at the top. Ideally each radio button will be directly below the one above it and...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7273
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,...
0
7322
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6982
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...
0
7451
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...
1
5000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3161
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
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...

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.