In the css below, there is a class "box response correct".
Under that div is a paragraph
what I want to do is point to an image that inserts itself just before the word
"Right!".
I have tried a number of things that apparently don't work.
.box .response .correct {
background: url("Reference URL/correct.png") no-repeat scroll 0 35px
transparent;
padding: 40px;
}
or just
.correct {
background: url("Reference URL/correct.png") no-repeat scroll 0 35px
transparent;
padding: 40px;
}
or
.correct p {
background: url("Reference URL/correct.png") no-repeat scroll 0 35px
transparent;
padding: 40px;
}
<div class="correctanswer generalbox">
<em>Your answer</em>
: 1. xxxxxxxx
<br>
2. xxxxxxxxxx
<br>
3. xxxxxxx
<div class="box response correct">
<p>Right! </p>
<h3>
"zzzzzzzzzzzzzzzzzzzzzz"
<br>
<br>
"zzzzzzzzzzzzzzzzzzz
<br>
<br>
"here is "the quote"
<em>mag</em>
, May 1984, 47).
</h3>
</div>
</div>
What am I doing wrong?
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/