Click here to get back home

set radio button color

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
set radio button color jullag 10-05-2005
Get Chitika Premium
Posted by jullag on October 5, 2005, 7:22 am
Please log in for more thread options


Hi everyone,
this was originally posted to a javascript group.
If indeed there is no standard, is there a way to do it SPECIFICALLY
for firefox?
anyone can help?
thanks!
j

jullag wrote:

>Hi there,
>does anyone know how to set the color and/or background color of radio
>buttons, in a way that's compatible with all browsers, including
>firefox at least?
>
>i've tried
>document.form.elements[i].style.backgroundColor='red';
>as well as
>document.form.elements[i].style.color='red';
>
>none of which work with firefox (latest version 1.0.4), although i
>looks perfect in Opera 8.5...
>
>any help would be greatly appreciated
>
>thanks,
>julien

This is really a CSS or HTML question, you may get better answers in

comp.infosystems.www.authoring.html
or
comp.infosystems.www.authoring.stylesheets

FWIW, my answer is no, you can't do it reliably in all browsers. By
all
means attempt it, but expect it not to work in many browsers.


Posted by Jukka K. Korpela on October 5, 2005, 4:10 pm
Please log in for more thread options


jullag@hotmail.com wrote:

> Hi everyone,
> this was originally posted to a javascript group.

In future, please think and analyze your problem _before_ posting it on
worldwide forums.

>>Hi there,
>>does anyone know how to set the color and/or background color of radio
>>buttons, in a way that's compatible with all browsers, including
>>firefox at least?

That's not really an HTML question. Neither was it a JavaScript question.

The short answer is that you cannot do it, but you could cause some harm in
trying, since some of the time, you might manage to disturb and distort the
representation of form fields to users.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


Posted by Gérard Talbot on October 5, 2005, 6:31 pm
Please log in for more thread options


jullag@hotmail.com a écrit :
> Hi everyone,
> this was originally posted to a javascript group.
> If indeed there is no standard, is there a way to do it SPECIFICALLY
> for firefox?

No. Not for now. Not that I know of.
http://www.meyerweb.com/eric/css/tests/css2/sec05-11-03.htm

Netscape 7.0 was passing this test accordingly; so this must be some
kind of regression.

http://www.designdetector.com/articles/results.html

> anyone can help?
> thanks!
> j
>
> jullag wrote:
>
>
>>Hi there,
>>does anyone know how to set the color and/or background color of radio
>>buttons, in a way that's compatible with all browsers, including
>>firefox at least?
>>

No. Not for now. Not that I know of.
http://www.meyerweb.com/eric/css/tests/css2/sec05-11-03.htm

Netscape 7.0 was passing this test accordingly; so this must be some
kind of regression.

http://www.designdetector.com/articles/results.html

>>i've tried
>>document.form.elements[i].style.backgroundColor='red';
>>as well as
>>document.form.elements[i].style.color='red';
>>

Those are reasonable attempts.

>>none of which work with firefox (latest version 1.0.4), although i
>>looks perfect in Opera 8.5...
>>
>>any help would be greatly appreciated
>>
>>thanks,
>>julien
>

I have not found any bugzilla bugfile on this.

>
> This is really a CSS or HTML question, you may get better answers in
>
> comp.infosystems.www.authoring.html
> or
> comp.infosystems.www.authoring.stylesheets
>
> FWIW, my answer is no, you can't do it reliably in all browsers. By
> all
> means attempt it, but expect it not to work in many browsers.
>

Gérard
--
remove blah to email me

Posted by jullag on October 6, 2005, 1:42 am
Please log in for more thread options


thanks for your help.
lately, i found two examples of "regressive evolution" of this kind in
firefox: this one + the way it processes big html tables compared to
earlier versions of netscape/mozilla: thousands of times slower. the
latter has been reported in bugzilla.
this makes me a lot less enthusiastic about this browser...
cheers
j


Similar ThreadsPosted
radio button question March 26, 2008, 10:15 am
Select a radio button have another value passed on also in form- How? October 26, 2004, 12:25 pm
making an image part of the Radio button November 22, 2007, 11:43 am
Mac/Safari Gamma Problem matching HTML color to GIF color? April 18, 2006, 1:56 am
What would cause radio buttons to not be clickable? May 1, 2006, 3:56 pm
Multiple groups of radio buttons with same name? September 30, 2004, 7:32 am
style.display & visibility on checkbox/radio in Mac IE July 26, 2005, 12:06 am
5 Sure Fire Ways To Get Radio Play For Your "Independent" Music! January 29, 2008, 11:29 pm
Color of hyperlink September 22, 2004, 3:08 pm
Cannot set background color (XML+CSS) July 6, 2005, 12:16 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap