W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2005

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

From: EXT / TEAMLOG MELLERIN Pierrick <ext.teamlog.mellerin@sncf.fr>
Date: Thu, 3 Nov 2005 16:11:42 +0100
Message-ID: <946A024657C45843A200BAE2F42ABF13033ECB91@S64LMWBIA0J>
To: "'www-amaya@w3.org'" <www-amaya@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:41 GMT