[pmwiki-users] WikiStyles

Dominique Faure dominique.faure at gmail.com
Wed Nov 23 01:56:38 CST 2005


2005/11/23, Henrik Bechmann <henrik at bechmannsoftware.com>:
> I have two styles defined:
>
> .compact {
>  ... /* repress trailing margin*/
> }
>
> .posting {
>  .../*set color and font size */
> }
>
> in my css file.
>
> I could have sworn I could do:
>
> %p compact posting%posted November 22, 2005
>
> and have the result of generated code be
>
> <p class='compact posting'>posted November 22, 2005</p>
>
> but in fact the second overwrites the first, so I get
>
> <p class='posting'>posted November 22, 2005</p>
>
> Was I dreaming? Am I missing something?
>
> Any insight appreciated.
>
> I'm using 2.0.13
>
> Thanks,
>
I hurt the same issue few times ago. Just use the following style
definition to get what you want:

%class='compact posting'%

Regards,
Dom




More information about the pmwiki-users mailing list