R: Amaya-9.2.2 -Is it possible to set a background color to a paragr aph ?
>Da: [hidden email] >Data: 3-
>A: "'[hidden email]'"<[hidden email]>
9.2.2 -Is it possible to set a background color to a paragr aph ?
>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-
>(which has a specific background color like grey) to a paragraph
>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...
>My .css :
> font-family: Courier New;
size: 9 pt;
> text-align: left;
> background-color: #E1E1E1;
>What Amaya is doing :
><p><span class="code">while (a < 10)...
>What I want :
><p class="code>while (a < 10)...</p>
Try to use the Structure View, selecting the paragraph element you
want to set and then set it in the attributes view (on the left panel),
class or the style you desire directly.
Last: is better to do not use
pseudo-class with the same name of html tag (like <code> in your