'Pct' is replaced by % in markup translation.<br><br>in scripts/wikistyles.php<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">SDVA($WikiStyleRepl,array(<br>
  '/^%(.*)%$/' => '$1',<br>  '/\\bbgcolor([:=])/' => 'background-color$1',<br>  '/\\b(\d+)pct\\b/' => '$1%',<br>  ));<br></blockquote><div> </div>I use this code on <a href="http://pmwiki.org">pmwiki.org</a><br>
<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"> %block width=50pct % xx %%<br></blockquote>and it produces<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<p style="width: 50%;"> xx<br></p><br></blockquote><br>Hope this helps.<br><br>2011/6/12 Tamara Temple <<a href="mailto:tamouse.lists@gmail.com">tamouse.lists@gmail.com</a>>:<br>> In <a href="http://www.pmwiki.org/wiki/PmWiki/WikiStyles">http://www.pmwiki.org/wiki/PmWiki/WikiStyles</a> , one of the Known Issues<br>
> is:<br>><br>> "Percents in style definitions (like: %block width=50% %) require the use of<br>> "pct" instead of "%"."<br>><br>> This is a REAL pain, because "pct" is not valid (nor necessarily recognized)<br>
> CSS unit. Thus my desire to have 3 divs side-by-side each taking up 1/3 of<br>> the space is not possible without rewiring the skin template, thus making it<br>> not portable to other skins. Is there ANY chance this can be fixed?<br>
><br>><br>> _______________________________________________<br>> pmwiki-users mailing list<br>> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
><br><br>