HighDots Forums  

set radio button color

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss set radio button color in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jullag@hotmail.com
 
Posts: n/a

Default set radio button color - 10-05-2005 , 09:22 AM






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:

Quote:
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.



Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: set radio button color - 10-05-2005 , 11:10 AM






jullag (AT) hotmail (DOT) com wrote:

Quote:
Hi everyone,
this was originally posted to a javascript group.
In future, please think and analyze your problem _before_ posting it on
worldwide forums.

Quote:
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



Reply With Quote
  #3  
Old   
jullag@hotmail.com
 
Posts: n/a

Default Re: set radio button color - 10-06-2005 , 03:42 AM



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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.