CSS: input <--> radio buttons
I added background-color = #333333 to my css file, but now my radio buttons become grey... As my background is blue, I don't want that. Is there a way to overcome this?
Greetings from Belgium
I added background-color = #333333 to my css file, but now my radio buttons become grey... As my background is blue, I don't want that. Is there a way to overcome this?
Greetings from Belgium
nicora posted this at 00:26 — 3rd February 2002.
He has: 267 posts
Joined: Nov 2001
could you post you code please.
T_D posted this at 00:32 — 3rd February 2002.
They have: 10 posts
Joined: Feb 2002
It's in fact the deviantNuke theme for phpNuke I'm changing. ( http://www.fcbfans.be/mirror ) It looks awful I know, just started to modify it
here's the line of css:
INPUT {FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
FONT-SIZE: 11px; color: #ffffff;
BACKGROUND-COLOR: #333333}
nicora posted this at 00:36 — 3rd February 2002.
He has: 267 posts
Joined: Nov 2001
That snipet is pretty general, it'll apply to any form object, maybe a specific class might work better?
.radio
{
background:#333333;
}
Just an idea...
T_D posted this at 00:43 — 3rd February 2002.
They have: 10 posts
Joined: Feb 2002
The problem is there are lots of radio buttons, I don't really want to change that all. How would that line of css look like if I would only want to have text areas and input boxes grey, but radio buttons no background?
I'm a newbie... Like you "might" have noticed
nicora posted this at 00:49 — 3rd February 2002.
He has: 267 posts
Joined: Nov 2001
You arn't going to be able to do that, I don't believe. When you declare that all input's (INPUT{}) have grey backgrounds, all inputs have grey backgrounds.
You can work around it like this :
INPUT
{
background:#990000;
}
T_D posted this at 00:52 — 3rd February 2002.
They have: 10 posts
Joined: Feb 2002
I'll check it out in the morning... Thanks!
Busy posted this at 23:13 — 3rd February 2002.
He has: 6,151 posts
Joined: May 2001
check out these
http://www.webmaster-forums.com/showthread.php?s=&threadid=16879&highlight=radio
http://www.webmaster-forums.com/showthread.php?s=&threadid=17194&highlight=radio
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.