[pmwiki-users] a defaut class attribute on paragraphs ?
xave
xave at xave.org
Fri Aug 19 07:19:41 CDT 2005
Hi,
I asked :
>> I'm trying to integrate it into an already working site's style and it
>> works quite well. My problem is that I need a specific class attribute
>> on *every* paragraph. For some reasons, I cannot touch the master CSS,
>> Is there any way ( a Markup() rule, preferably) to add my class
>> attribute on every <p> (without adding %myclass% everywhere, that is.) ?
Hagan replied :
> Try
>
> $BlockMarkups[p] = array('<p class="foo">','','</p>',0);
Thanks a lot, it did the trick !
If anyone know has an idea how to do that but make it supersedable, it
would be perfect.
----
xave
More information about the pmwiki-users
mailing list