radio buttons - background property?
Hi gang - I'd like you to check out a URL for me:
http://www.newsurvey.com/radiobutton_bg.html
Look at it in Microsoft Internet Explorer - it looks fine.
Now look at it in NetScape - yuck - what's up with the white background square behind each radio button?
I posed a similar question here a month or two ago - some great suggestions came back about style settings but nothing ever solved the problem.
Any new ideas? thanks...
Wil posted this at 16:42 — 11th January 2002.
They have: 601 posts
Joined: Nov 2001
That's because Netscape puts the radio button in a square block or border. I don't think you can alter this in Netscape.
Looks fine in Mozilla .9.7, though. And that's what counts
- wil
Jack Michaelson posted this at 19:43 — 11th January 2002.
He has: 1,733 posts
Joined: Dec 1999
That's right. It's impossible :-/
Suzanne posted this at 19:46 — 11th January 2002.
She has: 5,507 posts
Joined: Feb 2000
Actually...
Netscape 4.x uses the page background colour, not the table cell or div or whatever the form is sitting in, to determine the bgcolor of the radio and checkbox elements.
SO! In order to make it not have the white box effect, you'd have to set your bgcolor to the colour of the thing the form is in. The only (horrible) way to do this is to have a background image (white) for the body, and set the bgcolor (or background-color if you're using CSS and you should) to whatever colour the thing your form is in is.
How's that for convoluted?
Suzanne
Jack Michaelson posted this at 19:53 — 11th January 2002.
He has: 1,733 posts
Joined: Dec 1999
Although it is a nice one, I think your solution is an equivalent of 'impossible'
cmix posted this at 20:53 — 11th January 2002.
They have: 5 posts
Joined: Aug 2001
well, sort of...
add a "2" to the end of the original URL:
http://www.newsurvey.com/radiobutton_bg2.html
You'll see a red "flash" on the screen as my white background image (1 pixel x 1 pixel) covers the screen and makes it white again.
Now I just have to decide if the flash is cool or annoying. If annoying, is it worth it since radio buttons now look better?
Any thoughts, gang?
Suzanne posted this at 00:15 — 12th January 2002.
She has: 5,507 posts
Joined: Feb 2000
And that would be why, in another thread today, I said you shouldn't use 1x1 images, but at least 30x30 -- otherwise you see the background tile in...
S
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.