View Full Version : Netscape?
How do I get rid of the ugly white boxes for the radio buttons in Nutscrape (4.7)?
<TABLE BORDER="1" WIDTH="500" CELLPADDING="5">
<TR BGCOLOR="#C0C0C0">
<TD WIDTH=50% VALIGN="MIDDLE" ALIGN="CENTER">
<INPUT TYPE="SUBMIT" VALUE=" Create Next Report[nbsp][nbsp]" NAME="report">
</TD>
<TD VALIGN="MIDDLE" ALIGN="CENTER">
<FONT SIZE="-1" FACE="Verdana,Arial,Tahoma,Helvetica">
<INPUT TYPE=TEXT NAME=invalue LENGTH=12 MAXLENGTH=4>
</FONT>
<FONT FACE="Verdana,Arial,Tahoma,Helvetica" SIZE=-2>
CAP: </FONT>
<INPUT TYPE=RADIO NAME="group" VALUE="CAP" CHECKED>
<FONT FACE="Verdana,Arial,Tahoma,Helvetica" SIZE=-2>
&nbsp;&nbsp;&nbsp;&nbsp;
ACP: </FONT>
<INPUT TYPE=RADIO NAME="group" VALUE="ACP">
</TD></TR>
</TABLE>
Justin
04-05-2000, 05:05 PM
I believe the only way to change that would be to change the page bgcolor attribute...
------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support
Yup. Netscape uses the specified background color of the page so if your bg color is white the boxes are white. Doesn't that stink? :([nbsp][nbsp]But with some creativity and working it in somehow you should be fine, or you could just live with the white.
They better fix that in 6.0!
-Tatu :)
--
Hmmm, I'll add that to my list....
jimbo
04-05-2000, 06:49 PM
If you want my technical input, Netscape Six is icky.
Shalazar
04-05-2000, 08:04 PM
Actually, you can use a style tag to kill the white boxes around your radio buttons.[nbsp][nbsp]It's quick, easy, and visually pleasing.
<... style="BACKGROUND-COLOR: #hex color here">
Place that at the backend of your radio tag, with the hex color being the color of the square around your radio button, and you're good to go!
Thanks, but if this is the code suggested, it didn't work, either for T.U.W.Bs.
<INPUT TYPE=RADIO NAME="group" VALUE="CAP" CHECKED style="BACKGROUND-COLOR: #C0C0C0">
Shalazar
04-05-2000, 09:20 PM
I don't know what to tell you.[nbsp][nbsp]I'm using Netscape 4.08 and IE5.0, and that tag works like a charm in both browsers.[nbsp][nbsp]I even copied your entire input tag verbatim into a page of mine, and it changes the square color around the radio button in each instance.
Ok. Thks again. I can pop it one more time, just to check for "finger" problems on my part.
No problemo on IE (which I much prefer) but of course, this is the browser-war-crap that one is always working around. I even show people with Lynx and ver 2 Mozillas!
There a few things that I've noticed about the 4.7 "upgrade" that I don't like.
One of the differences appears to be the way that cookies are handle in ver 4.7.[nbsp][nbsp]
JW.
Yup!
Finger problems on my part. I copied that code (that I did right in the post) straight in, and worked fine.
Thanks again.
JW.
nemesis
06-03-2000, 06:01 AM
You know what is really strange? I tried to get this to work for my site, but this little trick doesn't work if you specify background-color: white or background-color: #FFFFFF. Try it for yourself if you don't believe me. That's definitely one of the stranger quirks I've seen.
To get around this I used background-color: #FFFFFE. I don't think anyone will be able to tell the difference. ;)
jeremy
The Complete Buffy Episode Guide
www.buffyguide.com (http://www.buffyguide.com)
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.