Well, thank you Petko for your explanation. It helps. Le ven. 10 sept. 2021 à 18:37, Petko Yotov <5...@5ko.fr> a écrit : > > About: > > %style="margin-left:50px% > > This is not a valid wikistyle, you probably need: > > %margin-left=50px% text %% or > > %bloc margin-left=50px% > > > About: > > %style="margin-left:50px%" > > When you use quotes (not in this invalid case, but in others), the > closing quote needs to be before the closing % for example: > > %p padding="2em 5em" border="4px dotted red"% text > > Indeed these are somewhat complex to set and to maintain. Myself I would > make a CSS class in pmwiki/pub/css/local.css and use the classname in > the wikistyle instead of the actual code. > > For example, in local.css: > > .myclassname { margin-left:50px; } > > On the wiki: > > %myclassname% text %% or > %p myclassname% text or > %bloc myclassname% text > > Petko > > On 10/09/2021 18:20, ABClf wrote: > > Hello, > > > > I'm still playing with style and css and have a question about what > > looks to me like unexpected behaviour related to the use and syntax > > needed for inline styling : > > > > while formatting pagelist, writing, > > %style="margin-left:50px%{=$:Version} > > does clean left marging ; > > > > whereas writing, > > %style="margin-left:50px%"{=$:Version} > > or > > %style=margin-left:50px%{=$:Version} > > does print out an unexpected " (quote sign). > > > > To me it looks like the parsing might not be working as it should. > > Am I wrong somewhere ? > > > > Test page done here : > > https://www.pmwiki.org/wiki/Test/InlineStyle > > > > Thank you. > > Gilles. > > > > _______________________________________________ > > pmwiki-users mailing list > > pmwiki-users@pmichaud.com > > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users