radio buttons in Netscape
Anyone know how to get Netscape to draw a radio button surround colour correctly? For example, the following HTML produces a radio button inside a table cell. The button surround should be red in colour but instead Netscape punches a hole through to the white background, so it looks rubbish. Of course IE does it correctly. Is there some clever workaround?
<BODY BGCOLOR="white">
<TABLE BORDER="1" CELLPADDING="5">
<TD BGCOLOR="red">
<FORM>
<INPUT TYPE="radio" NAME="button1">The button
</FORM>
</TD>
</TABLE>
Ken Elliott posted this at 20:07 — 13th March 2000.
They have: 358 posts
Joined: Jun 1999
Well I found a solution, didn't test it in all versions of NS though, just NS4.
Here's the html
Pimpin like a pimp with an electrofied pimpin machine!
Suzanne posted this at 01:05 — 14th March 2000.
She has: 5,507 posts
Joined: Feb 2000
Net Mechanic's newsletter addressed this recently -- use CSS to change the background to the same as the table cell with SPAN.
http://www.netmechanic.com/news/vol3/no1.htm
hth,
Suzanne
------------------
Zero Cattle
Suzanne
Tables DeMystified
tcranfield posted this at 13:01 — 14th March 2000.
They have: 9 posts
Joined: Mar 2000
Hey, thanks for the replies and the netmechanic.com link, very helpful and much appreciated
Lloyd Hassell posted this at 02:47 — 18th March 2000.
They have: 231 posts
Joined: Feb 2000
I had this same problem for a script I made (NN only). When I added the style="background:#333333;" to one of the radio buttons, all the others changed too. Wierd.
:: Lloyd Hassell :: http://www14.brinkster.com/lloydh ::
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.