I have 4 radio buttons. I want to apply style on one of them (only) - the correct answer: here is the generated HTML CODE:
<p>
<input id="SelectedAnswer" type="radio" value="5" name="SelectedAnswer">
my wrong answer
</p>
<p>
<input id="SelectedAnswer" class="correct-answer" type="radio" value="6" name="SelectedAnswer">
my correct answer
and here is my css, which doesn't work:
.correct-answer input[type="radio"] {
background-color: #FFFF00;
color: #0000FF;
font-weight: bold;
}
What is wrong ?