Link: http://www.fallen-souls.com/news.shtml
On the right there is a poll (the poll itself may or may not work, depending on when you're viewing it, but thats not important). Try viewing it in Internet Explorer, Mozilla, and Phoenix.
The code I'm dealing with is as follows:
<input type="radio" name="poll" class="poll">
with CSS:
input.poll {
background-color: #2C0000; /* For IE, makes it look nice */
color: White; /* For Netscape/Mozilla because of above :x No effect in IE */
}
In Phoenix, the colors are not changed at all. Is this a bug in Phoenix? In Gecko? Is something in my code wrong?
Ideally, I like how its rendered in IE, but I cant seem to replicate that in Mozilla. Phoenix doesnt like it at all.
Versions I'm using:
IE 6.0.2600/WinXP
Mozilla 1.1
Phoenix Nightly 20021114
Input Radio Background Color Problem
- cheeaun
- Posts: 826
- Joined: November 5th, 2002, 10:55 pm
- Location: Malaysia
- Contact:
Re: Input Radio Background Color Problem
Morpheus wrote:input.poll {
background-color: #2C0000; /* For IE, makes it look nice */
color: White; /* For Netscape/Mozilla because of above No effect in IE */
}
If I'm not mistaken, color:White shouldn't have work.
- laszlo
- Posts: 5225
- Joined: November 4th, 2002, 6:13 pm
- Location: .de
- Contact:
If I recall this correctly, Gecko was able to style input elements of type radio/checkbox once (there was a bug on this, but I couldn't find it in a quick search), but it was taken out because the specs are not very clear on what to style in these widgets (for example, what should the property "background-color" do: color the outer background or the inner?).