Amaya-9.2.2 -Is it possible to set a background color to a paragr aph ?

Hello,
 
I am testing Amaya-9.2.2 and I am encountering a little problem with
paragraph's pseudo-class... When I want to apply my paragraph's pseudo-class
(which has a specific background color like grey) to a paragraph by selected
it and clicking on my pseudo-class (.code) in the "class palette", Amaya set
a SPAN environment, so the background color is set only on the words
selected and not to the entire paragraph...
 
More clearly :
 
My .css :
 
p.code {
 font-family: Courier New;
 font-size: 9 pt;
 text-align: left;
 background-color: #E1E1E1;
}
 
What Amaya is doing :
 
<p><span class="code">while (a < 10)...</span></p>
 
What I want :
 
<p class="code>while (a < 10)...</p>
 
Thanks in advance and best regards,
 
Pierrick Mellerin
Lyon, France

Received on Thursday, 3 November 2005 15:13:27 UTC